about summary refs log tree commit diff stats
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/aesgcm_download.c2
-rw-r--r--src/tools/bookmark_ignore.c2
-rw-r--r--src/tools/editor.c2
-rw-r--r--src/tools/http_download.c6
4 files changed, 8 insertions, 4 deletions
diff --git a/src/tools/aesgcm_download.c b/src/tools/aesgcm_download.c
index 45aa7b66..e7b5b42c 100644
--- a/src/tools/aesgcm_download.c
+++ b/src/tools/aesgcm_download.c
@@ -155,7 +155,7 @@ aesgcm_file_get(void* userdata)
                                                  aesgcm_dl->filename);
 
         // TODO: Log the error.
-        if (!call_external(argv, NULL, NULL)) {
+        if (!call_external(argv)) {
             http_print_transfer_update(aesgcm_dl->window, aesgcm_dl->url,
                                        "Downloading '%s' failed: Unable to call "
                                        "command '%s' with file at '%s' (%s).",
diff --git a/src/tools/bookmark_ignore.c b/src/tools/bookmark_ignore.c
index 040d0036..7f5375ba 100644
--- a/src/tools/bookmark_ignore.c
+++ b/src/tools/bookmark_ignore.c
@@ -44,6 +44,8 @@
 
 #include "log.h"
 
+#include "xmpp/xmpp.h"
+
 static GKeyFile* bookmark_ignore_keyfile = NULL;
 static gchar* account_jid = NULL;
 
diff --git a/src/tools/editor.c b/src/tools/editor.c
index 6fcc08bb..d7d5102e 100644
--- a/src/tools/editor.c
+++ b/src/tools/editor.c
@@ -44,6 +44,8 @@
 #include "config/files.h"
 #include "config/preferences.h"
 #include "log.h"
+#include "common.h"
+#include "xmpp/xmpp.h"
 
 // Returns true if an error occurred
 gboolean
diff --git a/src/tools/http_download.c b/src/tools/http_download.c
index bbbccce1..5a5b8ef8 100644
--- a/src/tools/http_download.c
+++ b/src/tools/http_download.c
@@ -190,8 +190,8 @@ http_file_get(void* userdata)
     } else {
         if (!download->cancel) {
             http_print_transfer_update(download->window, download->url,
-                                       "Downloading '%s': done",
-                                       download->url);
+                                       "Downloading '%s': done\nSaved to '%s'",
+                                       download->url, download->filename);
             win_mark_received(download->window, download->url);
         }
     }
@@ -202,7 +202,7 @@ http_file_get(void* userdata)
                                                  download->filename);
 
         // TODO: Log the error.
-        if (!call_external(argv, NULL, NULL)) {
+        if (!call_external(argv)) {
             http_print_transfer_update(download->window, download->url,
                                        "Downloading '%s' failed: Unable to call "
                                        "command '%s' with file at '%s' (%s).",