diff options
Diffstat (limited to 'sockets.c')
-rw-r--r-- | sockets.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -159,6 +159,7 @@ rfbCheckFds(rfbScreenInfoPtr rfbScreen,long usec) if (!rfbScreen->inetdInitDone && rfbScreen->inetdSock != -1) { rfbNewClientConnection(rfbScreen,rfbScreen->inetdSock); rfbScreen->inetdInitDone = TRUE; + FD_SET(rfbScreen->inetdSock,&(rfbScreen->allFds)); } memcpy((char *)&fds, (char *)&(rfbScreen->allFds), sizeof(fd_set)); |