parseBits: fix regression introduced by the latest fix

This commit is contained in:
Дмитрий Левин 2019-04-19 05:08:33 +00:00
parent d21fe32b27
commit 1b6d0ed4c2

View File

@ -166,6 +166,7 @@ static int parseBits(const char * s, const tokenBits tokbits,
break;
}
tb = NULL;
for (tokenBits t = tokbits; t->name; t++) {
if (t->name && !strncasecmp(t->name, s, (se-s))) {
if (!t->name[se-s]) {