summaryrefslogtreecommitdiffstats
path: root/x11vnc/connections.c
diff options
context:
space:
mode:
authorrunge <runge>2007-09-26 19:20:56 +0000
committerrunge <runge>2007-09-26 19:20:56 +0000
commit54237e338b0406e553df55d91509248e8c13eee0 (patch)
tree320b51a872d7da7b403bbc4f01832d9feeeccaa7 /x11vnc/connections.c
parent1df143d1a156e112e9d9ae174bb89a173fe105fe (diff)
downloadlibtdevnc-54237e338b0406e553df55d91509248e8c13eee0.tar.gz
libtdevnc-54237e338b0406e553df55d91509248e8c13eee0.zip
x11vnc: COLUMNS=256 and other fixes to find/create scripts. More ratecheck.
Diffstat (limited to 'x11vnc/connections.c')
-rw-r--r--x11vnc/connections.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/connections.c b/x11vnc/connections.c
index 7d58a54..ac0723d 100644
--- a/x11vnc/connections.c
+++ b/x11vnc/connections.c
@@ -1934,10 +1934,10 @@ void read_x11vnc_remote_prop(int nomsg) {
} else if (strstr(x11vnc_remote_str, "cmd=") &&
strstr(x11vnc_remote_str, "passwd")) {
rfbLog("read X11VNC_REMOTE: *\n");
- } else if (strlen(x11vnc_remote_str) > 38) {
+ } else if (strlen(x11vnc_remote_str) > 36) {
char trim[100];
trim[0] = '\0';
- strncat(trim, x11vnc_remote_str, 38);
+ strncat(trim, x11vnc_remote_str, 36);
rfbLog("read X11VNC_REMOTE: %s ...\n", trim);
} else {