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:
ded8183
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Wed, 3 Nov 2010 10:24:04 +0000
(10:24 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 3 Nov 2010 10:24:04 +0000
(10:24 +0000)
src/fs/fs_download.c
patch
|
blob
|
history
diff --git
a/src/fs/fs_download.c
b/src/fs/fs_download.c
index 2be58aa1a80d1fabcde618f5d7e037127a50c175..b62620c3d1a1a25238b6803b25f2df59eddd79a2 100644
(file)
--- 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) )
{