diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 29daaad7..86d2b113 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -2423,7 +2423,7 @@ MHD_select (struct MHD_Daemon *daemon, | |||
2423 | timeout.tv_sec = (_MHD_TIMEVAL_TV_SEC_TYPE)(ltimeout / 1000); | 2423 | timeout.tv_sec = (_MHD_TIMEVAL_TV_SEC_TYPE)(ltimeout / 1000); |
2424 | tv = &timeout; | 2424 | tv = &timeout; |
2425 | } | 2425 | } |
2426 | num_ready = MHD_SYS_select_ (max + 1, &rs, &ws, &es, tv); | 2426 | num_ready = MHD_SYS_select_ (maxsock + 1, &rs, &ws, &es, tv); |
2427 | if (MHD_YES == daemon->shutdown) | 2427 | if (MHD_YES == daemon->shutdown) |
2428 | return MHD_NO; | 2428 | return MHD_NO; |
2429 | if (num_ready < 0) | 2429 | if (num_ready < 0) |