diff --git a/src/util.c b/src/util.c index 6de0727..ad84464 100644 --- a/src/util.c +++ b/src/util.c @@ -200,7 +200,7 @@ util_strrcmp(const char *s, const char *sub) size_t sublen = strlen(sub); if (sublen > slen) - return (!0); + return (1); return (!!memcmp(s + slen - sublen, sub, sublen)); }