From 2f9cf2385a90920b1bcbe6cefa899f33c615e2a5 Mon Sep 17 00:00:00 2001 From: dec05eba 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') 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