From 9c52fc54400d706f8f7cdf82d3df2da733862819 Mon Sep 17 00:00:00 2001 From: Aleksi Lindeman Date: Sat, 25 May 2019 02:48:33 +0200 Subject: Cleanup after finished --- tests/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/main.c') diff --git a/tests/main.c b/tests/main.c index eb1abc7..5b697a9 100644 --- a/tests/main.c +++ b/tests/main.c @@ -24,8 +24,7 @@ static void result_callback(QuickMediaHtmlNode *node, void *userdata) { printf("a href: %s, node value: %.*s\n", href, text.size, text.data); } -int main(int argc, char **argv) -{ +int main(int argc, char **argv) { char *file_content = get_file_content("test_files/test.html"); int result = quickmedia_html_find_nodes_xpath(file_content, "//h3[class=\"story_name\"]//a", result_callback, NULL); free(file_content); -- cgit v1.2.3