mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 15:41:15 +00:00
Fix: compilation with libcurl from 2013.
This commit is contained in:
parent
274bcf8d80
commit
d7fcb420c4
@ -131,7 +131,7 @@ bool NetworkHTTPRequest::Receive()
|
|||||||
for (int count = 0; count < 100; count++) {
|
for (int count = 0; count < 100; count++) {
|
||||||
/* Check if there was activity in the multi-handle. */
|
/* Check if there was activity in the multi-handle. */
|
||||||
int numfds;
|
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;
|
if (numfds == 0) return false;
|
||||||
|
|
||||||
/* Let CURL process the activity. */
|
/* Let CURL process the activity. */
|
||||||
|
Loading…
Reference in New Issue
Block a user