diff options
author | runge <runge> | 2005-07-02 02:45:13 +0000 |
---|---|---|
committer | runge <runge> | 2005-07-02 02:45:13 +0000 |
commit | c59929365c6b73d89fd0ccbdcb223c0ec44a4d40 (patch) | |
tree | b1eb874bfde00f93ec5b316f7c48fa2735aebdb9 /libvncserver | |
parent | 462ffd3f3eddd9b428e76b0fd32d3f988660bac0 (diff) | |
download | libtdevnc-c59929365c6b73d89fd0ccbdcb223c0ec44a4d40.tar.gz libtdevnc-c59929365c6b73d89fd0ccbdcb223c0ec44a4d40.zip |
x11vnc: -gui tray mode, httpd.c: check httpListenSock >= 0.
Diffstat (limited to 'libvncserver')
-rwxr-xr-x | libvncserver/httpd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvncserver/httpd.c b/libvncserver/httpd.c index 4be8f55..676f557 100755 --- a/libvncserver/httpd.c +++ b/libvncserver/httpd.c @@ -136,6 +136,9 @@ rfbHttpCheckFds(rfbScreenInfoPtr rfbScreen) if (!rfbScreen->httpDir) return; + if (rfbScreen->httpListenSock < 0) + return; + FD_ZERO(&fds); FD_SET(rfbScreen->httpListenSock, &fds); if (rfbScreen->httpSock >= 0) { |