aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amat.us>2015-12-08 21:54:35 +0000
committerDavid Barksdale <amatus@amat.us>2015-12-08 21:54:35 +0000
commit5ac9c9835594471154e54252fbc364fd8f50e6a5 (patch)
tree34100d3ac5eec13de4fef815edf372c90e4a063c
parent9403196ad0b67b13d4fefdc4d3da6625d66be34e (diff)
downloadlibmicrohttpd-5ac9c9835594471154e54252fbc364fd8f50e6a5.tar.gz
libmicrohttpd-5ac9c9835594471154e54252fbc364fd8f50e6a5.zip
rev 36743 missed a spot
-rw-r--r--src/microhttpd/daemon.c2
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)