From 2647edb121b2ad11b839fd5edb92247645597263 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 15 Jul 2020 23:29:50 +0200 Subject: Add download dir to html plugin download... --- src/html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/html.c b/src/html.c index c8aa902..b07d622 100644 --- a/src/html.c +++ b/src/html.c @@ -363,7 +363,7 @@ static int download_html_items_in_reverse(const char *plugin_filepath, Buffer *d } /* TODO: Make asynchronous */ - const char *args[] = { plugin_filepath, "download", download_items_it->link, NULL }; + const char *args[] = { plugin_filepath, "download", download_items_it->link, item_dir, NULL }; result = program_exec(args, NULL, NULL); if(result != 0) fprintf(stderr, "Failed while downloading html, url: %s\n", download_items_it->link); -- cgit v1.2.3