summaryrefslogtreecommitdiffstats
path: root/x11vnc/sslhelper.c
diff options
context:
space:
mode:
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);