aboutsummaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-11-03 10:24:04 +0000
committerChristian Grothoff <christian@grothoff.org>2010-11-03 10:24:04 +0000
commitd0ba8533f87f4881fb42adc2209d06164237c853 (patch)
treececf4240774b51568b48bc9fb0d7bf98d6248689 /src/fs
parentded8183274398aa2d48b5ac56b28d1d643ce5443 (diff)
downloadgnunet-d0ba8533f87f4881fb42adc2209d06164237c853.tar.gz
gnunet-d0ba8533f87f4881fb42adc2209d06164237c853.zip
fix
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/fs_download.c3
1 files changed, 2 insertions, 1 deletions
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,
1854 GNUNET_break (0); 1854 GNUNET_break (0);
1855 return NULL; 1855 return NULL;
1856 } 1856 }
1857 GNUNET_assert (GNUNET_FS_uri_test_chk (sr->uri)); 1857 GNUNET_assert (GNUNET_FS_uri_test_chk (sr->uri) ||
1858 GNUNET_FS_uri_test_loc (sr->uri) );
1858 if ( (offset + length < offset) || 1859 if ( (offset + length < offset) ||
1859 (offset + length > sr->uri->data.chk.file_length) ) 1860 (offset + length > sr->uri->data.chk.file_length) )
1860 { 1861 {