From d0ba8533f87f4881fb42adc2209d06164237c853 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 3 Nov 2010 10:24:04 +0000 Subject: [PATCH] fix --- src/fs/fs_download.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index 2be58aa1a..b62620c3d 100644 --- a/src/fs/fs_download.c +++ b/src/fs/fs_download.c @@ -1854,7 +1854,8 @@ GNUNET_FS_download_start_from_search (struct GNUNET_FS_Handle *h, GNUNET_break (0); return NULL; } - GNUNET_assert (GNUNET_FS_uri_test_chk (sr->uri)); + GNUNET_assert (GNUNET_FS_uri_test_chk (sr->uri) || + GNUNET_FS_uri_test_loc (sr->uri) ); if ( (offset + length < offset) || (offset + length > sr->uri->data.chk.file_length) ) { -- 2.25.1