diff options
Diffstat (limited to 'libvncserver')
-rw-r--r-- | libvncserver/tight.c | 8 | ||||
-rw-r--r-- | libvncserver/websockets.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libvncserver/tight.c b/libvncserver/tight.c index 6d5bcbb..276a2e3 100644 --- a/libvncserver/tight.c +++ b/libvncserver/tight.c @@ -81,10 +81,10 @@ typedef struct TIGHT_CONF_s { } TIGHT_CONF; static TIGHT_CONF tightConf[4] = { - { 65536, 2048, 6, 0, 0, 0, 4, 24 }, // 0 (used only without JPEG) - { 65536, 2048, 32, 1, 1, 1, 96, 24 }, // 1 - { 65536, 2048, 32, 3, 3, 2, 96, 96 }, // 2 (used only with JPEG) - { 65536, 2048, 32, 7, 7, 5, 96, 256 } // 9 + { 65536, 2048, 6, 0, 0, 0, 4, 24 }, /* 0 (used only without JPEG) */ + { 65536, 2048, 32, 1, 1, 1, 96, 24 }, /* 1 */ + { 65536, 2048, 32, 3, 3, 2, 96, 96 }, /* 2 (used only with JPEG) */ + { 65536, 2048, 32, 7, 7, 5, 96, 256 } /* 9 */ }; #ifdef LIBVNCSERVER_HAVE_LIBPNG diff --git a/libvncserver/websockets.c b/libvncserver/websockets.c index 8a12a5a..6bad3aa 100644 --- a/libvncserver/websockets.c +++ b/libvncserver/websockets.c @@ -625,7 +625,7 @@ webSocketsDecodeHybi(rfbClientPtr cl, char *dst, int len) int flength, fhlen; /* int fin; */ /* not used atm */ - // rfbLog(" <== %s[%d]: %d cl: %p, wsctx: %p-%p (%d)\n", __func__, gettid(), len, cl, wsctx, (char *)wsctx + sizeof(ws_ctx_t), sizeof(ws_ctx_t)); + /* rfbLog(" <== %s[%d]: %d cl: %p, wsctx: %p-%p (%d)\n", __func__, gettid(), len, cl, wsctx, (char *)wsctx + sizeof(ws_ctx_t), sizeof(ws_ctx_t)); */ if (wsctx->readbuflen) { /* simply return what we have */ |