1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-14 18:19:11 +00:00

Fix: compilation with libcurl from 2013.

This commit is contained in:
frosch
2023-02-13 20:09:49 +01:00
committed by frosch
parent 274bcf8d80
commit d7fcb420c4

@@ -131,7 +131,7 @@ bool NetworkHTTPRequest::Receive()
for (int count = 0; count < 100; count++) {
/* Check if there was activity in the multi-handle. */
int numfds;
curl_multi_poll(this->multi_handle, NULL, 0, 0, &numfds);
curl_multi_wait(this->multi_handle, NULL, 0, 0, &numfds);
if (numfds == 0) return false;
/* Let CURL process the activity. */