diff options
author | runge <runge> | 2007-02-17 01:54:36 +0000 |
---|---|---|
committer | runge <runge> | 2007-02-17 01:54:36 +0000 |
commit | a874ddee36c168750abe9a81eab481906e9f7365 (patch) | |
tree | e08939769b53f86f51a23f8ce6bcb241f51ab129 /x11vnc/sslhelper.c | |
parent | 057fdbb3eb8671886f0f6777e8af3098eaed55ae (diff) | |
download | libtdevnc-a874ddee36c168750abe9a81eab481906e9f7365.tar.gz libtdevnc-a874ddee36c168750abe9a81eab481906e9f7365.zip |
x11vnc: make https fetch in accept_openssl() work again.
Diffstat (limited to 'x11vnc/sslhelper.c')
-rw-r--r-- | x11vnc/sslhelper.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/x11vnc/sslhelper.c b/x11vnc/sslhelper.c index 36a6b42..995c532 100644 --- a/x11vnc/sslhelper.c +++ b/x11vnc/sslhelper.c @@ -1453,29 +1453,8 @@ void accept_openssl(int mode) { if (i == 2) { continue; } - if (i == listen) { - continue; - } close(i); } - if (screen->listenSock >= 0) { - close(screen->listenSock); - FD_CLR(screen->listenSock,&screen->allFds); - screen->listenSock = -1; - } - if (screen->httpListenSock >= 0) { - close(screen->httpListenSock); - FD_CLR(screen->httpListenSock,&screen->allFds); - screen->httpListenSock = -1; - } - if (openssl_sock >= 0) { - close(openssl_sock); - openssl_sock = -1; - } - if (https_sock >= 0) { - close(https_sock); - https_sock = -1; - } /* * sadly, we are a long lived child and so the large |