summaryrefslogtreecommitdiff
path: root/ui/vnc-auth-vencrypt.c
diff options
context:
space:
mode:
authorChih-Min Chao <cmchao@gmail.com>2015-04-09 02:04:11 +0800
committerMichael Tokarev <mjt@tls.msk.ru>2015-04-30 16:05:48 +0300
commit494cb81741f867319f11ecfa0949168baf9f01d7 (patch)
tree49441e27478976a89e1adc6e6c836e23d5dfea29 /ui/vnc-auth-vencrypt.c
parent4188e39055bfaf6d76b7d98294b0aeb8e4f3082d (diff)
downloadqemu-494cb81741f867319f11ecfa0949168baf9f01d7.tar.gz
ui/vnc : fix coding style
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>
Diffstat (limited to 'ui/vnc-auth-vencrypt.c')
-rw-r--r--ui/vnc-auth-vencrypt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/vnc-auth-vencrypt.c b/ui/vnc-auth-vencrypt.c
index a420ccbd1d..65f1afae46 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");