mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-25 16:46:17 +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;
|
char *ch;
|
||||||
std::string contentType;
|
std::string contentType;
|
||||||
res = curl_easy_getinfo(_CurlWWW->Request, CURLINFO_CONTENT_TYPE, &ch);
|
res = curl_easy_getinfo(_CurlWWW->Request, CURLINFO_CONTENT_TYPE, &ch);
|
||||||
if (res == CURLE_OK)
|
if (res == CURLE_OK && ch != NULL)
|
||||||
{
|
{
|
||||||
contentType = ch;
|
contentType = ch;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue