提交 eb017abe 编写于 作者: M Max Bruckner

fix update fix

上级 487a8b76
...@@ -914,7 +914,7 @@ static void create_patches(cJSON * const patches, const unsigned char * const pa ...@@ -914,7 +914,7 @@ static void create_patches(cJSON * const patches, const unsigned char * const pa
return; return;
case cJSON_String: case cJSON_String:
if (strcmp((unsigned char*)from->valuestring, (unsigned char*)to->valuestring) != 0) if (strcmp(from->valuestring, to->valuestring) != 0)
{ {
compose_patch(patches, (const unsigned char*)"replace", path, NULL, to); compose_patch(patches, (const unsigned char*)"replace", path, NULL, to);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册