diff --git a/lib/parsers.c b/lib/parsers.c index 67a809ca..d1e84ac2 100644 --- a/lib/parsers.c +++ b/lib/parsers.c @@ -29,7 +29,8 @@ unsigned char lextable[] = { int lextable_decode(int pos, char c) { - c = tolower(c); + if (c >= 'A' && c <= 'Z') + c += 'a' - 'A'; while (1) { if (lextable[pos] & (1 << 7)) { /* 1-byte, fail on mismatch */