- return token->len == strlen(cp1)
- && !memcmp (cp1, token->name, token->len);
+ if (ccl_case_sensitive)
+ return token->len == strlen(cp1)
+ && !memcmp (cp1, token->name, token->len);
+ return token->len == strlen(cp1) &&
+ !ccl_memicmp (cp1, token->name, token->len);