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_api.h | |
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_api.h')
-rw-r--r-- | src/fs/fs_api.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fs/fs_api.h b/src/fs/fs_api.h index 7b44adef8..1d18e20bc 100644 --- a/src/fs/fs_api.h +++ b/src/fs/fs_api.h | |||
@@ -1616,7 +1616,7 @@ struct DownloadRequest | |||
1616 | unsigned int depth; | 1616 | unsigned int depth; |
1617 | 1617 | ||
1618 | /** | 1618 | /** |
1619 | * Offset of the CHK for this block in the parent block. | 1619 | * Offset of the CHK for this block in the parent block |
1620 | */ | 1620 | */ |
1621 | unsigned int chk_idx; | 1621 | unsigned int chk_idx; |
1622 | 1622 | ||
@@ -1851,6 +1851,11 @@ struct GNUNET_FS_DownloadContext | |||
1851 | */ | 1851 | */ |
1852 | int in_receive; | 1852 | int in_receive; |
1853 | 1853 | ||
1854 | /** | ||
1855 | * Are we ready to issue requests (reconstructions are finished)? | ||
1856 | */ | ||
1857 | int issue_requests; | ||
1858 | |||
1854 | }; | 1859 | }; |
1855 | 1860 | ||
1856 | 1861 | ||