diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-03-07 20:31:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-03-07 20:31:26 +0000 |
commit | 40ec47829d2eeca9d8b5a1e3302d11681f2f5f91 (patch) | |
tree | 01ab3d2e5c628824dc3f93dfd3b820eefbfc241d /src/fs/fs_tree.c | |
parent | cc5f193706781f4c55d7616429f413c3b190284d (diff) | |
download | gnunet-40ec47829d2eeca9d8b5a1e3302d11681f2f5f91.tar.gz gnunet-40ec47829d2eeca9d8b5a1e3302d11681f2f5f91.zip |
-misc major bugfixes in download code wrt reconstruction and chk index calculations
Diffstat (limited to 'src/fs/fs_tree.c')
-rw-r--r-- | src/fs/fs_tree.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fs/fs_tree.c b/src/fs/fs_tree.c index b3bbdc7b1..a055bcd40 100644 --- a/src/fs/fs_tree.c +++ b/src/fs/fs_tree.c | |||
@@ -287,6 +287,10 @@ GNUNET_FS_tree_encoder_create (struct GNUNET_FS_Handle *h, uint64_t size, | |||
287 | te->chk_tree = | 287 | te->chk_tree = |
288 | GNUNET_malloc (te->chk_tree_depth * CHK_PER_INODE * | 288 | GNUNET_malloc (te->chk_tree_depth * CHK_PER_INODE * |
289 | sizeof (struct ContentHashKey)); | 289 | sizeof (struct ContentHashKey)); |
290 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | ||
291 | "Created tree encoder for file with %llu bytes and depth %u\n", | ||
292 | (unsigned long long) size, | ||
293 | te->chk_tree_depth); | ||
290 | return te; | 294 | return te; |
291 | } | 295 | } |
292 | 296 | ||