aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_download.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-24 12:15:04 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-24 12:15:04 +0000
commitce43938102711364faf74972884862dc13a0d985 (patch)
treee94177b33c9f3e0710a60fdabd3b8a33113b7ea0 /src/fs/fs_download.c
parenta1ad58dbf1437560a9a24a52e9d28d28dc697a93 (diff)
changing API in anticipation of future implementation of 1369
Diffstat (limited to 'src/fs/fs_download.c')
-rw-r--r--src/fs/fs_download.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c
index e4e015e887..cc36cba1f2 100644
--- a/src/fs/fs_download.c
+++ b/src/fs/fs_download.c
@@ -515,6 +515,7 @@ try_match_block (struct GNUNET_FS_DownloadContext *dc,
pi.value.download.specifics.progress.offset = 0;
pi.value.download.specifics.progress.data_len = dlen;
pi.value.download.specifics.progress.depth = 0;
+ pi.value.download.specifics.progress.trust_offered = 0;
GNUNET_FS_download_make_status_ (&pi, dc);
if ((NULL != dc->filename) &&
(0 !=
@@ -1070,6 +1071,7 @@ process_result_with_request (void *cls, const GNUNET_HashCode * key,
pi.value.download.specifics.progress.offset = dr->offset;
pi.value.download.specifics.progress.data_len = prc->size;
pi.value.download.specifics.progress.depth = dr->depth;
+ pi.value.download.specifics.progress.trust_offered = 0;
GNUNET_FS_download_make_status_ (&pi, dc);
GNUNET_assert (dc->completed <= dc->length);
if (dr->depth == 0)
@@ -1673,6 +1675,7 @@ reconstruct_cb (void *cls, const struct ContentHashKey *chk, uint64_t offset,
pi.value.download.specifics.progress.offset = offset;
pi.value.download.specifics.progress.data_len = 0;
pi.value.download.specifics.progress.depth = 0;
+ pi.value.download.specifics.progress.trust_offered = 0;
GNUNET_FS_download_make_status_ (&pi, dc);
}
else