From 494cb81741f867319f11ecfa0949168baf9f01d7 Mon Sep 17 00:00:00 2001 From: Chih-Min Chao Date: Thu, 9 Apr 2015 02:04:11 +0800 Subject: ui/vnc : fix coding style reported by checkpatch.pl Signed-off-by: Chih-Min Chao Reviewed-by: Gerd Hoffmann Signed-off-by: Michael Tokarev --- ui/vnc-auth-vencrypt.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ui') diff --git a/ui/vnc-auth-vencrypt.c b/ui/vnc-auth-vencrypt.c index a420ccb..65f1afa 100644 --- a/ui/vnc-auth-vencrypt.c +++ b/ui/vnc-auth-vencrypt.c @@ -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"); -- cgit v1.1