summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/scanner-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner-utils.h b/src/scanner-utils.h
index e4e90eb..fc231ab 100644
--- a/src/scanner-utils.h
+++ b/src/scanner-utils.h
@@ -130,7 +130,7 @@ str(struct scanner *s, const char *string, size_t len)
{
if (s->len - s->pos < len)
return false;
- if (strncasecmp(s->s + s->pos, string, len) != 0)
+ if (memcmp(s->s + s->pos, string, len) != 0)
return false;
s->pos += len; s->column += len;
return true;