]> git.proxmox.com Git - mirror_qemu.git/commitdiff
ui/vnc : fix coding style
authorChih-Min Chao <cmchao@gmail.com>
Wed, 8 Apr 2015 18:04:11 +0000 (02:04 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 30 Apr 2015 13:05:48 +0000 (16:05 +0300)
    reported by checkpatch.pl

Signed-off-by: Chih-Min Chao <cmchao@gmail.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
ui/vnc-auth-vencrypt.c

index a420ccbd1dcf82bdea19ba598c79cf24d95b60ee..65f1afae46e129a6bccb17285fd81bdbba17e5ac 100644 (file)
@@ -65,7 +65,8 @@ static void start_auth_vencrypt_subauth(VncState *vs)
 
 static void vnc_tls_handshake_io(void *opaque);
 
-static int vnc_start_vencrypt_handshake(struct VncState *vs) {
+static int vnc_start_vencrypt_handshake(struct VncState *vs)
+{
     int ret;
 
     if ((ret = gnutls_handshake(vs->tls.session)) < 0) {
@@ -100,7 +101,8 @@ static int vnc_start_vencrypt_handshake(struct VncState *vs) {
     return 0;
 }
 
-static void vnc_tls_handshake_io(void *opaque) {
+static void vnc_tls_handshake_io(void *opaque)
+{
     struct VncState *vs = (struct VncState *)opaque;
 
     VNC_DEBUG("Handshake IO continue\n");