[pve-devel] r5448 - pve-qemu-kvm/pve2/debian/patches

svn-commits at proxmox.com svn-commits at proxmox.com
Thu Jan 27 12:59:49 CET 2011


Author: dietmar
Date: 2011-01-27 12:59:49 +0100 (Thu, 27 Jan 2011)
New Revision: 5448

Modified:
   pve-qemu-kvm/pve2/debian/patches/pve-auth.patch
Log:


Modified: pve-qemu-kvm/pve2/debian/patches/pve-auth.patch
===================================================================
--- pve-qemu-kvm/pve2/debian/patches/pve-auth.patch	2011-01-27 11:57:58 UTC (rev 5447)
+++ pve-qemu-kvm/pve2/debian/patches/pve-auth.patch	2011-01-27 11:59:49 UTC (rev 5448)
@@ -1,7 +1,7 @@
 Index: new/ui/vnc.c
 ===================================================================
 --- new.orig/ui/vnc.c	2011-01-21 10:40:22.000000000 +0100
-+++ new/ui/vnc.c	2011-01-27 10:56:24.000000000 +0100
++++ new/ui/vnc.c	2011-01-27 13:00:03.000000000 +0100
 @@ -31,6 +31,8 @@
  #include "qemu-timer.h"
  #include "acl.h"
@@ -60,7 +60,7 @@
 +
 +	struct hostent *he;
 +	if ((he = gethostbyname("localhost")) == NULL) {
-+		perror("pve_auth_verify: error resolving hostname");
++		fprintf(stderr, "pve_auth_verify: error resolving hostname\n");
 +		goto err;
 +	}
 +
@@ -110,7 +110,7 @@
 +		goto err;
 +	}
 +	if (sb != len) {
-+		fprintf(stderr, "pve_auth_verify: partial send error");
++		fprintf(stderr, "pve_auth_verify: partial send error\n");
 +		goto err;
 +	}
 +



More information about the pve-devel mailing list