diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-05-25 02:48:33 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 06:55:04 +0200 |
commit | 2f9cf2385a90920b1bcbe6cefa899f33c615e2a5 (patch) | |
tree | 7fce39645c4cb580ae4be66a6ed193612bc0d322 /tests | |
parent | c17412cce925ce226d3835a2e59b4d9f31b5b3ed (diff) |
Cleanup after finished
Diffstat (limited to 'tests')
-rw-r--r-- | tests/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |