mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
>> FIXED lookupString() LENGTH ISSUE
In (const char *) lookupString() : For (const char *) NULL result : Length must be ZERO, if defined.
This commit is contained in:
parent
2bc6ced671
commit
47b5ff9a93
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user