aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-download.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-download.c')
-rw-r--r--src/fs/gnunet-download.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fs/gnunet-download.c b/src/fs/gnunet-download.c
index 689cf573d..114154d79 100644
--- a/src/fs/gnunet-download.c
+++ b/src/fs/gnunet-download.c
@@ -173,6 +173,12 @@ run (void *cls,
173 char *emsg; 173 char *emsg;
174 enum GNUNET_FS_DownloadOptions options; 174 enum GNUNET_FS_DownloadOptions options;
175 175
176 if (NULL == args[0])
177 {
178 fprintf (stderr,
179 _("You need to specify a URI argument.\n"));
180 return;
181 }
176 uri = GNUNET_FS_uri_parse (args[0], 182 uri = GNUNET_FS_uri_parse (args[0],
177 &emsg); 183 &emsg);
178 if (NULL == uri) 184 if (NULL == uri)