sys: Fixed http request stack overflow

This commit is contained in:
WerWolv
2023-03-23 11:43:07 +01:00
parent 15be24db62
commit bb4819bce4
2 changed files with 2 additions and 2 deletions

View File

@@ -305,7 +305,7 @@ namespace hex {
}
}
u32 statusCode = 0;
long statusCode = 0;
curl_easy_getinfo(this->m_curl, CURLINFO_RESPONSE_CODE, &statusCode);
return Result<T>(statusCode, { data.begin(), data.end() });