diff --git a/init/init.c b/init/init.c index 52c66e0c..9efc4731 100644 --- a/init/init.c +++ b/init/init.c @@ -326,7 +326,7 @@ static char * config_parse_string(char *data, jsmntok_t *token) static int jsoneq(const char *json, jsmntok_t *tok, const char *s) { if (tok->type == JSMN_STRING && (int)strlen(s) == tok->end - tok->start && - strncmp(json + tok->start, s, tok->end - tok->start) == 0) { + strncasecmp(json + tok->start, s, tok->end - tok->start) == 0) { return 0; } return -1;