diff options
Diffstat (limited to 'src/strindex.c')
-rw-r--r-- | src/strindex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strindex.c b/src/strindex.c index 9a6d952..f800210 100644 --- a/src/strindex.c +++ b/src/strindex.c @@ -226,7 +226,7 @@ zix_strindex_find(ZixStrindex* strindex, const char* const str, char** match) assert((*match)[0] == orig_p[0]); } - if (strncmp(p, label_first, max_len)) { + if (!!strncmp(p, label_first, max_len)) { /* no match */ *match = NULL; return ZIX_STATUS_NOT_FOUND; |