about summary refs log tree commit diff
path: root/lib/util/nstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/nstring.c')
-rw-r--r--lib/util/nstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/nstring.c b/lib/util/nstring.c
index 58500547..1aec2b9d 100644
--- a/lib/util/nstring.c
+++ b/lib/util/nstring.c
@@ -890,7 +890,7 @@ memmemN(const char * const haystack,
     const char * p;
 
     for (p = haystack; p <= haystack + haystacklen - needlelen; ++p)
-        if (MEMEQ(p, needle, needlelen))
+        if (memeq(p, needle, needlelen))
             return p;
 
     return NULL;