mirror of
https://github.com/kgabis/parson.git
synced 2025-01-28 06:32:55 +08:00
commit
b87a27c15c
2
parson.c
2
parson.c
@ -1718,7 +1718,7 @@ JSON_Status json_object_dotset_value(JSON_Object *object, const char *name, JSON
|
|||||||
char *current_name = NULL;
|
char *current_name = NULL;
|
||||||
JSON_Object *temp_obj = NULL;
|
JSON_Object *temp_obj = NULL;
|
||||||
JSON_Value *new_value = NULL;
|
JSON_Value *new_value = NULL;
|
||||||
if (value == NULL || name == NULL || value == NULL) {
|
if (object == NULL || name == NULL || value == NULL) {
|
||||||
return JSONFailure;
|
return JSONFailure;
|
||||||
}
|
}
|
||||||
dot_pos = strchr(name, '.');
|
dot_pos = strchr(name, '.');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user