summaryrefslogtreecommitdiffstats
path: root/sock_stuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'sock_stuff.c')
-rw-r--r--sock_stuff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sock_stuff.c b/sock_stuff.c
index 8a06135..43fdf0e 100644
--- a/sock_stuff.c
+++ b/sock_stuff.c
@@ -224,6 +224,8 @@ int check_fd(int fd, fd_mode fdm, unsigned int timeout)
224 case FD_EXCEPT: 224 case FD_EXCEPT:
225 sret = select(fd+1,NULL,NULL,&fds,&to); 225 sret = select(fd+1,NULL,NULL,&fds,&to);
226 break; 226 break;
227 default:
228 return -1;
227 } 229 }
228 230
229 if (sret < 0) { 231 if (sret < 0) {