diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-06-27 11:11:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-06-27 11:11:54 +0000 |
commit | af68c3a1fa672b4e64f96698453a0371a8c3794e (patch) | |
tree | dfd55bace731d707b5dd3606db7c1e9228984221 /src/fs | |
parent | bca37a7213a37ffc72af213f04d6758e82a155f1 (diff) | |
download | gnunet-af68c3a1fa672b4e64f96698453a0371a8c3794e.tar.gz gnunet-af68c3a1fa672b4e64f96698453a0371a8c3794e.zip |
communicate download activity status with each event
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/fs_download.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index 057f57b53..92c4b831d 100644 --- a/src/fs/fs_download.c +++ b/src/fs/fs_download.c | |||
@@ -170,6 +170,7 @@ GNUNET_FS_download_make_status_ (struct GNUNET_FS_ProgressInfo *pi, | |||
170 | = GNUNET_TIME_calculate_eta (dc->start_time, | 170 | = GNUNET_TIME_calculate_eta (dc->start_time, |
171 | dc->completed, | 171 | dc->completed, |
172 | dc->length); | 172 | dc->length); |
173 | pi->value.download.is_active = (dc->client == NULL) ? GNUNET_NO : GNUNET_YES; | ||
173 | if (0 == (dc->options & GNUNET_FS_DOWNLOAD_IS_PROBE)) | 174 | if (0 == (dc->options & GNUNET_FS_DOWNLOAD_IS_PROBE)) |
174 | dc->client_info = dc->h->upcb (dc->h->upcb_cls, | 175 | dc->client_info = dc->h->upcb (dc->h->upcb_cls, |
175 | pi); | 176 | pi); |