mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-15 12:09:06 +00:00
Merge with develop
--HG-- branch : compatibility-develop
This commit is contained in:
commit
05e1346b5e
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