diff options
author | runge <runge> | 2006-11-24 02:04:33 +0000 |
---|---|---|
committer | runge <runge> | 2006-11-24 02:04:33 +0000 |
commit | 726cedb871a70aa6307df74e769605ee89bd52d0 (patch) | |
tree | c8845a8a6278ce0ca3fa2dffe666a82fe531c062 /x11vnc/user.c | |
parent | 43f38781696ec935ca4978c2ca9051f4764bdda0 (diff) | |
download | libtdevnc-726cedb871a70aa6307df74e769605ee89bd52d0.tar.gz libtdevnc-726cedb871a70aa6307df74e769605ee89bd52d0.zip |
install ss_vncviewer 755, -prog option, HTTPONCE new socket for -inetd.
Diffstat (limited to 'x11vnc/user.c')
-rw-r--r-- | x11vnc/user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x11vnc/user.c b/x11vnc/user.c index 6a6d3b8..09da679 100644 --- a/x11vnc/user.c +++ b/x11vnc/user.c @@ -1020,8 +1020,8 @@ rfbBool custom_passwd_check(rfbClientPtr cl, const char *response, int len) { static void handle_one_http_request(void) { rfbLog("handle_one_http_request: begin.\n"); - if (screen->httpPort == 0) { - int port = find_free_port(5800, 5850); + if (inetd || screen->httpPort == 0) { + int port = find_free_port(5800, 5860); if (port) { screen->httpPort = port; } else { |