mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Replace any direct curl usage by httpfetch
This commit is contained in:
parent
b03135548b
commit
0d990bd189
6 changed files with 42 additions and 83 deletions
|
@ -280,6 +280,7 @@ struct HTTPFetchOngoing
|
|||
if (curl != NULL) {
|
||||
if (curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE,
|
||||
&result.response_code) != CURLE_OK) {
|
||||
//we failed to get a return code make sure it is still 0
|
||||
result.response_code = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue