]> git.proxmox.com Git - pve-qemu-kvm.git/commitdiff
fix whitespace errors
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 9 Aug 2012 08:04:10 +0000 (10:04 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 9 Aug 2012 08:04:10 +0000 (10:04 +0200)
debian/patches/vencrypt-auth-plain.patch

index 9c302246d1f58f52e589116ac77568a15e255922..cd2e8e85eebe008670d0f96972f63081b5c6d944 100644 (file)
@@ -1,5 +1,7 @@
---- qemu-kvm/ui/vnc-auth-vencrypt.c    2012-01-17 01:31:17.000000000 +0100
-+++ qemu-kvm.new/ui/vnc-auth-vencrypt.c        2012-01-17 01:31:48.000000000 +0100
+Index: new/ui/vnc-auth-vencrypt.c
+===================================================================
+--- new.orig/ui/vnc-auth-vencrypt.c    2012-08-09 10:02:20.000000000 +0200
++++ new/ui/vnc-auth-vencrypt.c 2012-08-09 10:03:01.000000000 +0200
 @@ -143,6 +143,11 @@
         vnc_read_when(vs, protocol_client_auth_plain_start, 8);
         break;
@@ -31,7 +33,7 @@
 -            VNC_DEBUG("Failed to setup TLS\n");
 -            return 0;
 +        if (auth == VNC_AUTH_VENCRYPT_PLAIN) {
-+            vs->subauth = auth; 
++            vs->subauth = auth;
 +            start_auth_vencrypt_subauth(vs);
          }
 -
@@ -43,7 +45,7 @@
 +        {
 +            VNC_DEBUG("Accepting auth %d, setting up TLS for handshake\n", auth);
 +            vnc_write_u8(vs, 1); /* Accept auth */
-+            vnc_flush(vs); 
++            vnc_flush(vs);
 +
 +           if (vnc_tls_client_setup(vs, NEED_X509_AUTH(vs)) < 0) {
 +                VNC_DEBUG("Failed to setup TLS\n");
@@ -72,6 +74,3 @@
          vnc_flush(vs);
          vnc_read_when(vs, protocol_client_vencrypt_auth, 4);
      }
--- 
-1.7.2.5
-