From 726cedb871a70aa6307df74e769605ee89bd52d0 Mon Sep 17 00:00:00 2001 From: runge Date: Fri, 24 Nov 2006 02:04:33 +0000 Subject: install ss_vncviewer 755, -prog option, HTTPONCE new socket for -inetd. --- x11vnc/user.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x11vnc/user.c') 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 { -- cgit v1.2.3