Commit b19b746e authored by Moritz Grimm's avatar Moritz Grimm
Browse files

Revert introduction of !0 pattern for "true"

parent 4551bfdb
......@@ -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));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment