File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ json_value * json_array_new (size_t length)
113
113
114
114
json_value * json_array_push (json_value * array , json_value * value )
115
115
{
116
- assert (value -> type == json_array );
116
+ assert (array -> type == json_array );
117
117
118
118
if (((json_builder_value * ) value )-> additional_length_allocated > 0 )
119
119
{
@@ -172,7 +172,7 @@ json_value * json_object_push_length (json_value * object,
172
172
{
173
173
json_char * name_copy ;
174
174
175
- assert (value -> type == json_object );
175
+ assert (object -> type == json_object );
176
176
177
177
if (! (name_copy = (json_char * ) malloc ((name_length + 1 ) * sizeof (json_char ))))
178
178
return NULL ;
@@ -195,7 +195,7 @@ json_value * json_object_push_nocopy (json_value * object,
195
195
{
196
196
json_object_entry * entry ;
197
197
198
- assert (value -> type == json_object );
198
+ assert (object -> type == json_object );
199
199
200
200
if (((json_builder_value * ) value )-> additional_length_allocated > 0 )
201
201
{
You can’t perform that action at this time.
0 commit comments