projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ec9da
)
allow loc
author
Christian Grothoff
<christian@grothoff.org>
Mon, 1 Nov 2010 22:24:02 +0000
(22:24 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 1 Nov 2010 22:24:02 +0000
(22:24 +0000)
src/fs/gnunet-download.c
patch
|
blob
|
history
diff --git
a/src/fs/gnunet-download.c
b/src/fs/gnunet-download.c
index 6f7854756b588ebd7a75bc8368b452cf5cc34b75..36681e40714cf429b8ea225443a5607be80f7e09 100644
(file)
--- a/
src/fs/gnunet-download.c
+++ b/
src/fs/gnunet-download.c
@@
-186,10
+186,11
@@
run (void *cls,
ret = 1;
return;
}
- if (! GNUNET_FS_uri_test_chk (uri))
+ if ( (! GNUNET_FS_uri_test_chk (uri)) &&
+ (! GNUNET_FS_uri_test_loc (uri)) )
{
fprintf (stderr,
- "Only CHK
URIs supported right now
.\n");
+ "Only CHK
or LOC URIs supported
.\n");
ret = 1;
GNUNET_FS_uri_destroy (uri);
return;