aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-07-15 23:29:50 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-15 23:30:02 +0200
commit2647edb121b2ad11b839fd5edb92247645597263 (patch)
treee6d7b01dd1f50d4c6ff7c5a8cf6b1e22d2cdf96f /src
parent39b3e3cb3874b7827e6c5cc655cf47d5d1f33aa7 (diff)
Add download dir to html plugin download...
Diffstat (limited to 'src')
-rw-r--r--src/html.c2
1 files changed, 1 insertions, 1 deletions
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);