提交 1d854508 编写于 作者: M Max Bruckner

fix configurable compare_stirings

上级 2616db9e
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册