diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-09-04 12:23:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-09-04 12:23:57 +0000 |
commit | e310c6fb680eb33b2f1dbea5d88ca13d3536e160 (patch) | |
tree | 3c92f23f7de71b395ef3a622a13fb0a4f9925665 /src/fs/fs_tree.c | |
parent | 6726d9c371e0dbf4a3604c34e4a6043332372bd4 (diff) | |
download | gnunet-e310c6fb680eb33b2f1dbea5d88ca13d3536e160.tar.gz gnunet-e310c6fb680eb33b2f1dbea5d88ca13d3536e160.zip |
fixes
Diffstat (limited to 'src/fs/fs_tree.c')
-rw-r--r-- | src/fs/fs_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/fs_tree.c b/src/fs/fs_tree.c index 5d6a4f1d9..f5205f082 100644 --- a/src/fs/fs_tree.c +++ b/src/fs/fs_tree.c | |||
@@ -347,7 +347,7 @@ void GNUNET_FS_tree_encoder_next (struct GNUNET_FS_TreeEncoder * te) | |||
347 | te->uri = GNUNET_malloc (sizeof(struct GNUNET_FS_Uri)); | 347 | te->uri = GNUNET_malloc (sizeof(struct GNUNET_FS_Uri)); |
348 | te->uri->type = chk; | 348 | te->uri->type = chk; |
349 | te->uri->data.chk.chk = te->chk_tree[0]; | 349 | te->uri->data.chk.chk = te->chk_tree[0]; |
350 | te->uri->data.chk.file_length = te->size; | 350 | te->uri->data.chk.file_length = GNUNET_htonll (te->size); |
351 | GNUNET_SCHEDULER_add_continuation (te->h->sched, | 351 | GNUNET_SCHEDULER_add_continuation (te->h->sched, |
352 | GNUNET_NO, | 352 | GNUNET_NO, |
353 | te->cont, | 353 | te->cont, |