diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-11-01 22:24:02 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-11-01 22:24:02 +0000 |
commit | 51e85ed008b667988209470edc301977bbe04ec8 (patch) | |
tree | 025fba898ee98849ba085c4b784f5c5eedd40580 | |
parent | 54ec9da6272bb80fc9a2ec3bc9f6804fb4c76689 (diff) | |
download | gnunet-51e85ed008b667988209470edc301977bbe04ec8.tar.gz gnunet-51e85ed008b667988209470edc301977bbe04ec8.zip |
allow loc
-rw-r--r-- | src/fs/gnunet-download.c | 5 |
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; |