From 51e85ed008b667988209470edc301977bbe04ec8 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 1 Nov 2010 22:24:02 +0000 Subject: [PATCH] allow loc --- src/fs/gnunet-download.c | 5 +++-- 1 file 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, 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; -- 2.25.1