summaryrefslogtreecommitdiffstats
path: root/libvncserver
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2012-09-11 22:50:11 +0300
committerChristian Beier <dontmind@freeshell.org>2012-09-14 18:47:17 +0200
commit3cbef1a976731bb3a714ee13cbd1813ed142ae5e (patch)
tree23304ece279ab76aacc8b1d4958ea02bfe7204d7 /libvncserver
parent88e60435854e7f8edf085a5f4564c7e8cd847699 (diff)
downloadlibtdevnc-3cbef1a976731bb3a714ee13cbd1813ed142ae5e.tar.gz
libtdevnc-3cbef1a976731bb3a714ee13cbd1813ed142ae5e.zip
Use C-style comments in rfbconfig.h.cmake and C source code.
Using C++-style comments when building the code with -ansi does not work, so be more conservative with the comment style.
Diffstat (limited to 'libvncserver')
-rw-r--r--libvncserver/tight.c8
-rw-r--r--libvncserver/websockets.c2
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 */