From: Christian Grothoff Date: Wed, 3 Nov 2010 10:24:04 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~19858 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d0ba8533f87f4881fb42adc2209d06164237c853;p=oweals%2Fgnunet.git fix --- 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) ) {