mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-11-08 16:11:20 +00:00
fix configurable compare_stirings
This commit is contained in:
1 parent
2616db9e92
commit
1d85450883
1 file changed
+1
-1
+1
-1
@@ -437,7 +437,7 @@ static cJSON_bool compare_json(cJSON *a, cJSON *b)
|
|||||||
|
|
||||||
case cJSON_String:
|
case cJSON_String:
|
||||||
/* string mismatch. */
|
/* string mismatch. */
|
||||||
if (compare_strings((unsigned char*)a->valuestring, (unsigned char*)b->valuestring, true) != 0)
|
if (strcmp(a->valuestring, b->valuestring) != 0)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user