aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fs/gnunet-download.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fs/gnunet-download.c b/src/fs/gnunet-download.c
index 6f7854756..36681e407 100644
--- a/src/fs/gnunet-download.c
+++ b/src/fs/gnunet-download.c
@@ -186,10 +186,11 @@ run (void *cls,
186 ret = 1; 186 ret = 1;
187 return; 187 return;
188 } 188 }
189 if (! GNUNET_FS_uri_test_chk (uri)) 189 if ( (! GNUNET_FS_uri_test_chk (uri)) &&
190 (! GNUNET_FS_uri_test_loc (uri)) )
190 { 191 {
191 fprintf (stderr, 192 fprintf (stderr,
192 "Only CHK URIs supported right now.\n"); 193 "Only CHK or LOC URIs supported.\n");
193 ret = 1; 194 ret = 1;
194 GNUNET_FS_uri_destroy (uri); 195 GNUNET_FS_uri_destroy (uri);
195 return; 196 return;