mirror of
https://github.com/DaveGamble/cJSON
synced 2024-12-24 07:32:05 +00:00
fix update fix
This commit is contained in:
parent
487a8b76a1
commit
eb017abe72
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user