aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_download.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-10-20 08:38:04 +0000
committerChristian Grothoff <christian@grothoff.org>2009-10-20 08:38:04 +0000
commit7f5570186d7d89dc6b3742bff7070fb94343279b (patch)
tree88211e1e36c6db1282d98f9f4fbdc2f4783ba61f /src/fs/fs_download.c
parent6e6ae629601179fba79284331b8860f4272400c6 (diff)
downloadgnunet-7f5570186d7d89dc6b3742bff7070fb94343279b.tar.gz
gnunet-7f5570186d7d89dc6b3742bff7070fb94343279b.zip
fix
Diffstat (limited to 'src/fs/fs_download.c')
-rw-r--r--src/fs/fs_download.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c
index e0c4471ac..71d10edac 100644
--- a/src/fs/fs_download.c
+++ b/src/fs/fs_download.c
@@ -822,8 +822,7 @@ GNUNET_FS_download_start (struct GNUNET_FS_Handle *h,
822 dc->length = length; 822 dc->length = length;
823 dc->anonymity = anonymity; 823 dc->anonymity = anonymity;
824 dc->options = options; 824 dc->options = options;
825 // dc->active = GNUNET_CONTAINER_multihashmap_create (1); // + (length / DBLOCK_SIZE)); 825 dc->active = GNUNET_CONTAINER_multihashmap_create (2 * (length / DBLOCK_SIZE));
826 dc->active = GNUNET_CONTAINER_multihashmap_create (1 + (length / DBLOCK_SIZE));
827 dc->treedepth = GNUNET_FS_compute_depth (GNUNET_ntohll(dc->uri->data.chk.file_length)); 826 dc->treedepth = GNUNET_FS_compute_depth (GNUNET_ntohll(dc->uri->data.chk.file_length));
828#if DEBUG_DOWNLOAD 827#if DEBUG_DOWNLOAD
829 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 828 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,