diff options
Diffstat (limited to 'libvncclient/rfbproto.c')
-rw-r--r-- | libvncclient/rfbproto.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c index 7b53722..57a3a54 100644 --- a/libvncclient/rfbproto.c +++ b/libvncclient/rfbproto.c @@ -75,7 +75,7 @@ rfbDefaultClientLog(const char *format, ...) time(&log_clock); strftime(buf, 255, "%d/%m/%Y %X ", localtime(&log_clock)); - fprintf(stderr,buf); + fprintf(stderr, "%s", buf); vfprintf(stderr, format, args); fflush(stderr); @@ -345,6 +345,7 @@ DefaultSupportedMessagesTightVNC(rfbClient* client) SetServer2Client(client, rfbTextChat); } +#ifndef WIN32 static rfbBool IsUnixSocket(const char *name) { @@ -353,6 +354,7 @@ IsUnixSocket(const char *name) return TRUE; return FALSE; } +#endif /* * ConnectToRFBServer. @@ -1783,6 +1785,9 @@ HandleRFBServerMessage(rfbClient* client) if (!SendIncrementalFramebufferUpdateRequest(client)) return FALSE; + if (client->FinishedFrameBufferUpdate) + client->FinishedFrameBufferUpdate(client); + break; } |