mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-23 17:38:44 +00:00
Fixed: Null pointer error
--HG-- branch : develop
This commit is contained in:
parent
9dce8df546
commit
64c90c4fdc
1 changed files with 1 additions and 1 deletions
|
@ -689,7 +689,7 @@ namespace NLGUI
|
|||
char *ch;
|
||||
std::string contentType;
|
||||
res = curl_easy_getinfo(_CurlWWW->Request, CURLINFO_CONTENT_TYPE, &ch);
|
||||
if (res == CURLE_OK)
|
||||
if (res == CURLE_OK && ch != NULL)
|
||||
{
|
||||
contentType = ch;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue