aboutsummaryrefslogtreecommitdiff
path: root/src/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/html.c')
-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);