diff options
author | dscho <dscho> | 2002-03-04 07:10:08 +0000 |
---|---|---|
committer | dscho <dscho> | 2002-03-04 07:10:08 +0000 |
commit | ab4126d1ec05d7c078ac7635aae339bd96ce7863 (patch) | |
tree | 2bfdb911a709edd29d17ffb914704f26ead3835c /sockets.c | |
parent | c70b4dd8eceb498b0e99c9a52e9d82706d5514c4 (diff) | |
download | libvncserver-ab4126d1ec05d7c078ac7635aae339bd96ce7863.zip libvncserver-ab4126d1ec05d7c078ac7635aae339bd96ce7863.tar.gz |
reverted exception fds to NULL, because of unexpected behaviour
Diffstat (limited to 'sockets.c')
-rw-r--r-- | sockets.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -188,7 +188,7 @@ rfbCheckFds(rfbScreenInfoPtr rfbScreen,long usec) memcpy((char *)&fds, (char *)&(rfbScreen->allFds), sizeof(fd_set)); tv.tv_sec = 0; tv.tv_usec = usec; - nfds = select(rfbScreen->maxFd + 1, &fds, NULL, &fds, &tv); + nfds = select(rfbScreen->maxFd + 1, &fds, NULL, NULL /* &fds */, &tv); if (nfds == 0) { return; } @@ -451,7 +451,7 @@ WriteExact(cl, buf, len) FD_SET(sock, &fds); tv.tv_sec = 5; tv.tv_usec = 0; - n = select(sock+1, NULL, &fds, &fds, &tv); + n = select(sock+1, NULL, &fds, NULL /* &fds */, &tv); if (n < 0) { rfbLogPerror("WriteExact: select"); UNLOCK(cl->outputMutex); |