diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-09-07 11:58:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-09-07 11:58:04 +0000 |
commit | 9dac7b6b7b035d55bdb9731795712ead92e11f76 (patch) | |
tree | 8bed4ad4617f95bcdaac75dc43c2b2dd461b3e76 /src/fs/fs_download.c | |
parent | 2a534fc5efadca1b65648efb903c3b4c17ac33ad (diff) | |
download | gnunet-9dac7b6b7b035d55bdb9731795712ead92e11f76.tar.gz gnunet-9dac7b6b7b035d55bdb9731795712ead92e11f76.zip |
fixes
Diffstat (limited to 'src/fs/fs_download.c')
-rw-r--r-- | src/fs/fs_download.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index 77fbb1139..9ab4c5ce0 100644 --- a/src/fs/fs_download.c +++ b/src/fs/fs_download.c | |||
@@ -669,8 +669,8 @@ GNUNET_FS_file_download_start (struct GNUNET_FS_Handle *h, | |||
669 | return NULL; | 669 | return NULL; |
670 | // FIXME: add support for "loc" URIs! | 670 | // FIXME: add support for "loc" URIs! |
671 | GNUNET_assert (GNUNET_FS_uri_test_chk (uri)); | 671 | GNUNET_assert (GNUNET_FS_uri_test_chk (uri)); |
672 | if ( (dc->offset + dc->length < dc->offset) || | 672 | if ( (offset + length < offset) || |
673 | (dc->offset + dc->length > uri->data.chk.file_length) ) | 673 | (offset + length > uri->data.chk.file_length) ) |
674 | { | 674 | { |
675 | GNUNET_break (0); | 675 | GNUNET_break (0); |
676 | return NULL; | 676 | return NULL; |