Skip to content

Commit 3e42c0b

Browse files
authored
Merge pull request #140 from alltilla/cache-json-file-typo-fix
json: fix copypaste error in cache_json_file() filterx fn
2 parents 4373a1e + 0e5f591 commit 3e42c0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/json/filterx-cache-json-file.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ _deep_freeze_dict(FilterXFuntionCacheJsonFile *self, FilterXObject *object)
168168
static void
169169
_deep_freeze_list(FilterXFuntionCacheJsonFile *self, FilterXObject *object)
170170
{
171-
struct json_object *jso = filterx_json_object_get_value(object);
171+
struct json_object *jso = filterx_json_array_get_value(object);
172172
guint64 len = json_object_array_length(jso);
173173

174174
for (guint64 i = 0; i < len; i++)

0 commit comments

Comments
 (0)