mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
Make testsuite compatible with W32 again
This commit is contained in:
@@ -198,10 +198,16 @@ testExternalGet (int flags)
|
||||
{
|
||||
#ifdef MHD_POSIX_SOCKETS
|
||||
if (EINTR != errno)
|
||||
#endif /* MHD_POSIX_SOCKETS */
|
||||
abort ();
|
||||
#else
|
||||
if (WSAEINVAL != WSAGetLastError() || 0 != rs.fd_count || 0 != ws.fd_count || 0 != es.fd_count)
|
||||
abort ();
|
||||
Sleep (1000);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
else
|
||||
sleep (1000);
|
||||
curl_multi_perform (multi, &running);
|
||||
if (running == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user