diff options
author | runge <runge> | 2004-05-22 03:30:31 +0000 |
---|---|---|
committer | runge <runge> | 2004-05-22 03:30:31 +0000 |
commit | 0130bdb9d6c61e0446ab514816041f1b9283410a (patch) | |
tree | 58699f5088c885a8487da5017b5e37a4f7bb0a6a /httpd.c | |
parent | dd26262a369b8da6b612017a6095882ca4469816 (diff) | |
download | libtdevnc-0130bdb9d6c61e0446ab514816041f1b9283410a.tar.gz libtdevnc-0130bdb9d6c61e0446ab514816041f1b9283410a.zip |
x11vnc: -gone, -passwdfile, -o logfile; add view-only to -accept
Diffstat (limited to 'httpd.c')
-rw-r--r-- | httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -167,7 +167,7 @@ httpCheckFds(rfbScreenInfoPtr rfbScreen) rfbLog("Rejected HTTP connection from client %s\n", inet_ntoa(addr.sin_addr)); #else - flags = fcntl(rfbScreen->httpSock, F_SETFL); + flags = fcntl(rfbScreen->httpSock, F_GETFL); if (flags < 0 || fcntl(rfbScreen->httpSock, F_SETFL, flags | O_NONBLOCK) == -1) { rfbLogPerror("httpCheckFds: fcntl"); |