diff options
Diffstat (limited to 'x11vnc')
-rw-r--r-- | x11vnc/x11vnc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index 092c236..80eef99 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -9558,7 +9558,7 @@ void reset_rfbport(int old, int new) { screen->autoPort = FALSE; } screen->port = rp; - screen->socketInitDone = FALSE; + screen->socketState = RFB_SOCKET_INIT; if (screen->listenSock > -1) { close(screen->listenSock); |