forked from mirror/OpenTTD
Fix: compilation with libcurl from 2013.
This commit is contained in:
@@ -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. */
|
||||||
|
Reference in New Issue
Block a user