Skip to content

Commit

Permalink
Fix test parse_rss
Browse files Browse the repository at this point in the history
  • Loading branch information
lwindolf committed Jan 20, 2025
1 parent 7e47337 commit b23d79f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/json.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,9 @@ gchar *
json_dump (JsonBuilder *b)
{
g_autoptr (JsonGenerator) g = json_generator_new ();
g_autoptr (JsonNode) root = json_builder_get_root (b);

json_generator_set_root (g, json_builder_get_root (b));
json_generator_set_root (g, root);

return json_generator_to_data (g, NULL);
}

0 comments on commit b23d79f

Please sign in to comment.