version 1.19 | | version 1.20 |
---|
| | |
| | |
/* | | /* |
* static char *rcsid_loop_c = | | * static char *rcsid_loop_c = |
* "$Id: loop.c,v 1.19 2002/07/25 06:57:14 mwedel Exp $"; | | * "$Id: loop.c,v 1.20 2002/10/28 04:36:17 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
} | | } |
FD_ZERO(&readfs); | | FD_ZERO(&readfs); |
FD_SET((uint32)init_sockets[0].fd, &readfs); | | FD_SET((uint32)init_sockets[0].fd, &readfs); |
| | if (settings.fastclock > 0) { |
| | Timeout.tv_sec=0; |
| | Timeout.tv_usec=50; |
| | } else { |
Timeout.tv_sec=60; | | Timeout.tv_sec=60; |
Timeout.tv_usec=0; | | Timeout.tv_usec=0; |
| | } |
#ifdef WATCHDOG | | #ifdef WATCHDOG |
watchdog(); | | watchdog(); |
#endif | | #endif |