mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-09 09:05:38 +00:00
Don't return 0 in place of NULL
This commit is contained in:
1 parent
112632bb4e
commit
2a28289314
9 files changed
+25
-25
No files matched your search
@@ -1654,7 +1654,7 @@ memrchr (const void *block, int c, size_t size)
|
||||
for (p = (unsigned char *)block + size; p != block; p--)
|
||||
if (*p == c)
|
||||
return p;
|
||||
return 0;
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user