diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-10-07 18:19:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-10-07 18:19:32 +0000 |
commit | a60b958f984d08525b636a2c7eae564ebec54ae6 (patch) | |
tree | 6dcbbf91d734834f804b2fd9ab790244e2d60e6c /src/fs/fs_download.c | |
parent | decf459805cdb3f6811f979df4831bc2ce9a2858 (diff) | |
download | gnunet-a60b958f984d08525b636a2c7eae564ebec54ae6.tar.gz gnunet-a60b958f984d08525b636a2c7eae564ebec54ae6.zip |
-chaning multihashmap API to allow option for avoiding key allocation
Diffstat (limited to 'src/fs/fs_download.c')
-rw-r--r-- | src/fs/fs_download.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index e9839cc2d..ecb5c5f8a 100644 --- a/src/fs/fs_download.c +++ b/src/fs/fs_download.c | |||
@@ -2101,7 +2101,7 @@ create_download_context (struct GNUNET_FS_Handle *h, | |||
2101 | dc->anonymity = anonymity; | 2101 | dc->anonymity = anonymity; |
2102 | dc->options = options; | 2102 | dc->options = options; |
2103 | dc->active = | 2103 | dc->active = |
2104 | GNUNET_CONTAINER_multihashmap_create (1 + 2 * (length / DBLOCK_SIZE)); | 2104 | GNUNET_CONTAINER_multihashmap_create (1 + 2 * (length / DBLOCK_SIZE), GNUNET_NO); |
2105 | dc->treedepth = | 2105 | dc->treedepth = |
2106 | GNUNET_FS_compute_depth (GNUNET_FS_uri_chk_get_file_size (dc->uri)); | 2106 | GNUNET_FS_compute_depth (GNUNET_FS_uri_chk_get_file_size (dc->uri)); |
2107 | if ((NULL == filename) && (is_recursive_download (dc))) | 2107 | if ((NULL == filename) && (is_recursive_download (dc))) |