Skip to content

Commit

Permalink
ui/vnc : fix coding style
Browse files Browse the repository at this point in the history
    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>
  • Loading branch information
cmchao authored and Michael Tokarev committed Apr 30, 2015
1 parent 4188e39 commit 494cb81
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ui/vnc-auth-vencrypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 494cb81

Please sign in to comment.