mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 14:55:36 +03:00
Fix typo in #99 (reported by Hattrick)
This commit is contained in:
parent
87774ae21f
commit
d9efe61030
@ -114,7 +114,7 @@ const char *lookupString(const char *ip, const char **path, int *length)
|
|||||||
|
|
||||||
// Strings from database are not null terminated.
|
// Strings from database are not null terminated.
|
||||||
memcpy(buffer, result.utf8_string, maxLength);
|
memcpy(buffer, result.utf8_string, maxLength);
|
||||||
buffer[result.data_size] = '\0';
|
buffer[maxLength] = '\0';
|
||||||
|
|
||||||
if (length)
|
if (length)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user