diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2000-12-11 20:32:16 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2000-12-11 20:32:16 +0000 |
commit | cd40f5ad40cd4912648f1cb155bf3167202ddc89 (patch) | |
tree | 899be9d91efe2a2e54f34007cf0f464d7093af92 /sbin/photurisd/server.c | |
parent | 99d6fb1f5b489b0e62fcb603c5f6fbeeb11d37fb (diff) |
remove lots of unnecssary code, on the way to new spd framework.
Diffstat (limited to 'sbin/photurisd/server.c')
-rw-r--r-- | sbin/photurisd/server.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/photurisd/server.c b/sbin/photurisd/server.c index c9558334e6e..cb9f5f868f3 100644 --- a/sbin/photurisd/server.c +++ b/sbin/photurisd/server.c @@ -35,7 +35,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: server.c,v 1.2 2000/12/11 02:16:50 provos Exp $"; +static char rcsid[] = "$Id: server.c,v 1.3 2000/12/11 20:32:15 provos Exp $"; #endif #define _SERVER_C_ @@ -285,11 +285,12 @@ server(void) if (select(sockets[num_ifs-1]+1, readfds, (fd_set *) NULL, (fd_set *) NULL, - (timeout.tv_sec == -1 ? NULL : &timeout)) < 0) + (timeout.tv_sec == -1 ? NULL : &timeout)) < 0) { if (errno == EINTR) continue; else crit_error(1, "select() in server()"); + } for (i=0; i<num_ifs; i++) { if (FD_ISSET(sockets[i], readfds)) { |