diff options
author | mischief <mischief@offblast.org> | 2015-01-05 20:02:01 -0800 |
---|---|---|
committer | mischief <mischief@offblast.org> | 2015-01-05 20:02:01 -0800 |
commit | 654450bc1da238c42bee28e9fccba57323a48884 (patch) | |
tree | 681957e6ca9b1a643bceae3ac10cf704c2c32937 /sys/src/cmd/vnc | |
parent | 384d4d2d6211544362d87a7e5a1392dd9c149092 (diff) |
vnc: put newlines in verbose messages
Diffstat (limited to 'sys/src/cmd/vnc')
-rw-r--r-- | sys/src/cmd/vnc/auth.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/src/cmd/vnc/auth.c b/sys/src/cmd/vnc/auth.c index 508c65366..070d7f589 100644 --- a/sys/src/cmd/vnc/auth.c +++ b/sys/src/cmd/vnc/auth.c @@ -113,13 +113,13 @@ vncsrvhandshake(Vnc *v) strecpy(msg, msg+sizeof msg, version); if(verbose) - fprint(2, "server version: %s", msg); + fprint(2, "server version: %s\n", msg); vncwrbytes(v, msg, VerLen); vncflush(v); vncrdbytes(v, msg, VerLen); if(verbose) - fprint(2, "client version: %s", msg); + fprint(2, "client version: %s\n", msg); return 0; } @@ -135,7 +135,7 @@ vnchandshake(Vnc *v) return -1; } if(verbose) - fprint(2, "server version: %s", msg); + fprint(2, "server version: %s\n", msg); strcpy(msg, version); vncwrbytes(v, msg, VerLen); vncflush(v); @@ -157,7 +157,7 @@ vncauth(Vnc *v, char *keypattern) default: werrstr("unknown auth type 0x%lux", auth); if(verbose) - fprint(2, "unknown auth type 0x%lux", auth); + fprint(2, "unknown auth type 0x%lux\n", auth); return -1; case AFailed: @@ -169,7 +169,7 @@ vncauth(Vnc *v, char *keypattern) case ANoAuth: if(verbose) - fprint(2, "no auth needed"); + fprint(2, "no auth needed\n"); break; case AVncAuth: |