summaryrefslogtreecommitdiffstats
path: root/x11vnc/sslhelper.c
diff options
context:
space:
mode:
authorrunge <runge>2008-11-05 01:18:29 +0000
committerrunge <runge>2008-11-05 01:18:29 +0000
commit63b98dba790fa9835e970b8502d93258862a9373 (patch)
tree52b5ba99d6f9fe4b8a818eee16955e5e4e5b50de /x11vnc/sslhelper.c
parentcb67ada73b007d5f237a281576f753ec6c15844b (diff)
downloadlibtdevnc-63b98dba790fa9835e970b8502d93258862a9373.tar.gz
libtdevnc-63b98dba790fa9835e970b8502d93258862a9373.zip
x11vnc: add zeroconf external helpers (avahi-publish and
dns-sd). Alias -zeroconf. Close pipeinput_fh on exit. Kludge to make -solid work on MacOSX console. Attempt at cpp macros to disable newer libvncserver interfaces.
Diffstat (limited to 'x11vnc/sslhelper.c')
-rw-r--r--x11vnc/sslhelper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/sslhelper.c b/x11vnc/sslhelper.c
index 8aa725f..7aad2c4 100644
--- a/x11vnc/sslhelper.c
+++ b/x11vnc/sslhelper.c
@@ -932,7 +932,9 @@ void openssl_port(void) {
if (shutdown) {
if (db) fprintf(stderr, "shutting down %d/%d\n",
port, screen->listenSock);
+#if LIBVNCSERVER_HAS_SHUTDOWNSOCKETS
rfbShutdownSockets(screen);
+#endif
}
sock = rfbListenOnTCPPort(port, iface);