fix configurable compare_stirings

This commit is contained in:
Max Bruckner 2017-04-30 19:30:26 +02:00
parent 2616db9e92
commit 1d85450883
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ static cJSON_bool compare_json(cJSON *a, cJSON *b)
case cJSON_String:
/* string mismatch. */
if (compare_strings((unsigned char*)a->valuestring, (unsigned char*)b->valuestring, true) != 0)
if (strcmp(a->valuestring, b->valuestring) != 0)
{
return false;
}