mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-24 00:03:11 +01:00
Fix #5081: Crash on fetching server list
This commit is contained in:
committed by
Ted John
parent
b230909097
commit
24f9a0c0ef
@@ -151,7 +151,7 @@ http_response_t *http_request(const http_request_t *request)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
sint32 httpStatusCode;
|
long httpStatusCode;
|
||||||
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &httpStatusCode);
|
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &httpStatusCode);
|
||||||
|
|
||||||
char* contentType;
|
char* contentType;
|
||||||
|
|||||||
Reference in New Issue
Block a user