summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--httpd.c3
-rw-r--r--sockets.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/httpd.c b/httpd.c
index bae63c5..7a0574e 100644
--- a/httpd.c
+++ b/httpd.c
@@ -143,7 +143,8 @@ httpCheckFds(rfbScreenInfoPtr rfbScreen)
#ifdef WIN32
errno = WSAGetLastError();
#endif
- rfbLogPerror("httpCheckFds: select");
+ if (errno != EINTR)
+ rfbLogPerror("httpCheckFds: select");
return;
}
diff --git a/sockets.c b/sockets.c
index a785904..a13fcf6 100644
--- a/sockets.c
+++ b/sockets.c
@@ -218,7 +218,8 @@ rfbCheckFds(rfbScreenInfoPtr rfbScreen,long usec)
#ifdef WIN32
errno = WSAGetLastError();
#endif
- rfbLogPerror("rfbCheckFds: select");
+ if (errno != EINTR)
+ rfbLogPerror("rfbCheckFds: select");
return;
}