>> FIXED lookupString() LENGTH ISSUE

In (const char *) lookupString() :
For (const char *) NULL result :

Length must be ZERO, if defined.
This commit is contained in:
HttrckCldHKS 2015-02-07 18:40:52 -08:00
parent 2bc6ced671
commit 47b5ff9a93

View File

@ -166,6 +166,9 @@ const char *lookupString(const char *ip, const char **path, int *length)
if (!lookupByIp(ip, path, &result))
{
if (length)
*length = 0;
return NULL;
}