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
1 changed files with 1 additions and 1 deletions

View File

@ -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. */