Mercurial > minori
changeset 385:aa38b904de4f
http: fix incorrect type in curl_easy_setopt
hahaha
| author | Paper <paper@tflc.us> |
|---|---|
| date | Thu, 06 Nov 2025 08:58:05 -0500 |
| parents | 0393debc0ed2 |
| children | e89901683d72 |
| files | src/core/http.cc |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/http.cc Thu Nov 06 08:57:41 2025 -0500 +++ b/src/core/http.cc Thu Nov 06 08:58:05 2025 -0500 @@ -89,7 +89,7 @@ curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, &WriteCallback); /* Use system certs... useful on Windows. */ curl_easy_setopt(curl, CURLOPT_SSL_OPTIONS, CURLSSLOPT_NATIVE_CA); - curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1); // threading + curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1L); // threading CURLcode res = curl_easy_perform(curl); session.IncrementRequests(); curl_easy_cleanup(curl); @@ -179,7 +179,7 @@ curl_easy_setopt(curl, CURLOPT_SSL_OPTIONS, CURLSSLOPT_NATIVE_CA); /* does something with threading, don't remember what though */ - curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1); + curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1L); CURLcode res = curl_easy_perform(curl); session.IncrementRequests();
