diff options
author | dscho <dscho> | 2003-08-08 08:12:50 +0000 |
---|---|---|
committer | dscho <dscho> | 2003-08-08 08:12:50 +0000 |
commit | 98c888cd6b32e34ed82696e4ced13c9bdf278695 (patch) | |
tree | b279a473f8c9f05e1f894765e1f14350d0d26021 | |
parent | 4fcb60871bb33d48e68bbd8f40a84aa4cfa2c805 (diff) | |
download | libtdevnc-98c888cd6b32e34ed82696e4ced13c9bdf278695.tar.gz libtdevnc-98c888cd6b32e34ed82696e4ced13c9bdf278695.zip |
handle EINTR after select()
-rw-r--r-- | httpd.c | 3 | ||||
-rw-r--r-- | sockets.c | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -143,7 +143,8 @@ httpCheckFds(rfbScreenInfoPtr rfbScreen) #ifdef WIN32 errno = WSAGetLastError(); #endif - rfbLogPerror("httpCheckFds: select"); + if (errno != EINTR) + rfbLogPerror("httpCheckFds: select"); return; } @@ -218,7 +218,8 @@ rfbCheckFds(rfbScreenInfoPtr rfbScreen,long usec) #ifdef WIN32 errno = WSAGetLastError(); #endif - rfbLogPerror("rfbCheckFds: select"); + if (errno != EINTR) + rfbLogPerror("rfbCheckFds: select"); return; } |