diff --git a/libvncserver/sockets.c b/libvncserver/sockets.c index cea1898..b3cd955 100755 --- a/libvncserver/sockets.c +++ b/libvncserver/sockets.c @@ -464,6 +464,14 @@ WriteExact(cl, buf, len) struct timeval tv; int totalTimeWaited = 0; +#undef DEBUG_WRITE_EXACT +#ifdef DEBUG_WRITE_EXACT + rfbLog("WriteExact %d bytes\n",len); + for(n=0;noutputMutex); while (len > 0) { n = write(sock, buf, len);