diff options
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -570,7 +570,7 @@ void *select_routine(void *arg) { } else { struct timeval tv; tv.tv_sec = 0; - tv.tv_usec = TIMEOUT; + tv.tv_usec = TCP_TIMEOUT; if (setsockopt(newfd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) < 0) { perror("setsockopt"); } |