fix another compare_strings

This commit is contained in:
Max Bruckner 2017-04-30 19:38:05 +02:00
parent 1d85450883
commit 487a8b76a1

View File

@ -914,7 +914,7 @@ static void create_patches(cJSON * const patches, const unsigned char * const pa
return;
case cJSON_String:
if (compare_strings((unsigned char*)from->valuestring, (unsigned char*)to->valuestring, true) != 0)
if (strcmp((unsigned char*)from->valuestring, (unsigned char*)to->valuestring) != 0)
{
compose_patch(patches, (const unsigned char*)"replace", path, NULL, to);
}