aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/test_client_put_stop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/test_client_put_stop.c')
-rw-r--r--src/microhttpd/test_client_put_stop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/microhttpd/test_client_put_stop.c b/src/microhttpd/test_client_put_stop.c
index bb49da07..d5ce701f 100644
--- a/src/microhttpd/test_client_put_stop.c
+++ b/src/microhttpd/test_client_put_stop.c
@@ -835,6 +835,7 @@ _MHD_dumbClient_perform (struct _MHD_dumbClient *clnt)
835 mhd_assert ((0 != rs.fd_count) || (0 != ws.fd_count) || \ 835 mhd_assert ((0 != rs.fd_count) || (0 != ws.fd_count) || \
836 (0 != es.fd_count)); 836 (0 != es.fd_count));
837 externalErrorExitDesc ("Unexpected select() error"); 837 externalErrorExitDesc ("Unexpected select() error");
838 Sleep (tv.tv_sec * 1000 + tv.tv_usec / 1000);
838#endif /* ! MHD_POSIX_SOCKETS */ 839#endif /* ! MHD_POSIX_SOCKETS */
839 continue; 840 continue;
840 } 841 }
@@ -1277,7 +1278,7 @@ performQueryExternal (struct MHD_Daemon *d, struct _MHD_dumbClient *clnt)
1277 if ((WSAEINVAL != WSAGetLastError ()) || 1278 if ((WSAEINVAL != WSAGetLastError ()) ||
1278 (0 != rs.fd_count) || (0 != ws.fd_count) || (0 != es.fd_count) ) 1279 (0 != rs.fd_count) || (0 != ws.fd_count) || (0 != es.fd_count) )
1279 externalErrorExitDesc ("Unexpected select() error"); 1280 externalErrorExitDesc ("Unexpected select() error");
1280 Sleep (1); 1281 Sleep (tv.tv_sec * 1000 + tv.tv_usec / 1000);
1281#endif 1282#endif
1282 continue; 1283 continue;
1283 } 1284 }