diff options
Diffstat (limited to 'src/fs/fs_download.c')
-rw-r--r-- | src/fs/fs_download.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index 80758ebc7..847509358 100644 --- a/src/fs/fs_download.c +++ b/src/fs/fs_download.c | |||
@@ -304,8 +304,8 @@ encrypt_existing_match (struct GNUNET_FS_DownloadContext *dc, | |||
304 | prc.data = enc; | 304 | prc.data = enc; |
305 | prc.size = len; | 305 | prc.size = len; |
306 | prc.type = (dc->treedepth == depth) | 306 | prc.type = (dc->treedepth == depth) |
307 | ? GNUNET_BLOCK_TYPE_DBLOCK | 307 | ? GNUNET_BLOCK_TYPE_FS_DBLOCK |
308 | : GNUNET_BLOCK_TYPE_IBLOCK; | 308 | : GNUNET_BLOCK_TYPE_FS_IBLOCK; |
309 | prc.query = chk->query; | 309 | prc.query = chk->query; |
310 | prc.do_store = do_store; | 310 | prc.do_store = do_store; |
311 | process_result_with_request (&prc, | 311 | process_result_with_request (&prc, |
@@ -1423,9 +1423,9 @@ transmit_download_request (void *cls, | |||
1423 | else | 1423 | else |
1424 | sm->options = htonl (0); | 1424 | sm->options = htonl (0); |
1425 | if (dc->pending->depth == dc->treedepth) | 1425 | if (dc->pending->depth == dc->treedepth) |
1426 | sm->type = htonl (GNUNET_BLOCK_TYPE_DBLOCK); | 1426 | sm->type = htonl (GNUNET_BLOCK_TYPE_FS_DBLOCK); |
1427 | else | 1427 | else |
1428 | sm->type = htonl (GNUNET_BLOCK_TYPE_IBLOCK); | 1428 | sm->type = htonl (GNUNET_BLOCK_TYPE_FS_IBLOCK); |
1429 | sm->anonymity_level = htonl (dc->anonymity); | 1429 | sm->anonymity_level = htonl (dc->anonymity); |
1430 | sm->target = dc->target.hashPubKey; | 1430 | sm->target = dc->target.hashPubKey; |
1431 | sm->query = dc->pending->chk.query; | 1431 | sm->query = dc->pending->chk.query; |