1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00

Revert introduction of !0 pattern for "true"

This commit is contained in:
Moritz Grimm 2017-09-25 18:19:07 +02:00
parent 4551bfdbc0
commit b19b746e5f

View File

@ -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));
}