handle EINTR after select()

pull/1/head
dscho 21 years ago
parent 4fcb60871b
commit 98c888cd6b

@ -143,6 +143,7 @@ httpCheckFds(rfbScreenInfoPtr rfbScreen)
#ifdef WIN32
errno = WSAGetLastError();
#endif
if (errno != EINTR)
rfbLogPerror("httpCheckFds: select");
return;
}

@ -218,6 +218,7 @@ rfbCheckFds(rfbScreenInfoPtr rfbScreen,long usec)
#ifdef WIN32
errno = WSAGetLastError();
#endif
if (errno != EINTR)
rfbLogPerror("rfbCheckFds: select");
return;
}

Loading…
Cancel
Save