提交 361b9a58 编写于 作者: K Kevin Branigan

Merge pull request #19 from FSMaxB/fix_boolean

fix boolean expression
......@@ -209,7 +209,7 @@ static int cJSONUtils_ApplyPatch(cJSON *object,cJSON *patch)
int cJSONUtils_ApplyPatches(cJSON *object,cJSON *patches)
{
int err;
if (!patches->type==cJSON_Array) return 1; /* malformed patches. */
if (patches->type!=cJSON_Array) return 1; /* malformed patches. */
if (patches) patches=patches->child;
while (patches)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册