From d7fcb420c40bbc45ee40af7e8129332acc9d960c Mon Sep 17 00:00:00 2001 From: frosch Date: Mon, 13 Feb 2023 20:09:49 +0100 Subject: [PATCH] Fix: compilation with libcurl from 2013. --- src/network/core/http_curl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/core/http_curl.cpp b/src/network/core/http_curl.cpp index 5933c52dd8..6741a5b922 100644 --- a/src/network/core/http_curl.cpp +++ b/src/network/core/http_curl.cpp @@ -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. */