summary refs log tree commit diff stats
path: root/src/fe-gtk/urlgrab.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-13 10:03:39 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-13 10:03:39 +0200
commitca3fa043f09b0684999f8881e65c22dfde875004 (patch)
tree56e584ea78c8eb4199220c3cf55ff7bb27e2e991 /src/fe-gtk/urlgrab.c
parentd4f3738ca82bf586503a4e1ddae6ff0797beb94a (diff)
Save URLs to disk on-the-fly and provide an option for toggling it
Diffstat (limited to 'src/fe-gtk/urlgrab.c')
-rw-r--r--src/fe-gtk/urlgrab.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fe-gtk/urlgrab.c b/src/fe-gtk/urlgrab.c
index d9b79670..1cd46d9e 100644
--- a/src/fe-gtk/urlgrab.c
+++ b/src/fe-gtk/urlgrab.c
@@ -138,7 +138,9 @@ static void
 url_save_callback (void *arg1, char *file)
 {
 	if (file)
-		url_save (file, "w", TRUE);
+	{
+		url_save_tree (file, "w", TRUE);
+	}
 }
 
 static void