diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-02-04 21:18:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-02-04 21:18:27 +0000 |
commit | 8fd8fedc315fabc3560dc2e1028378d89295147a (patch) | |
tree | f2306e4faaa3d432554afb5a994887f407e9d050 /src/fs | |
parent | 6003b6e317a1c41a9955a9c54f2fbd4fa2a854e8 (diff) | |
download | gnunet-8fd8fedc315fabc3560dc2e1028378d89295147a.tar.gz gnunet-8fd8fedc315fabc3560dc2e1028378d89295147a.zip |
-always signal download start before 'completed', even for 0-byte files
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/fs_download.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/fs_download.c b/src/fs/fs_download.c index 85ae3ae34..f9e654928 100644 --- a/src/fs/fs_download.c +++ b/src/fs/fs_download.c | |||
@@ -1788,6 +1788,9 @@ GNUNET_FS_download_start_task_ (void *cls, | |||
1788 | GNUNET_DISK_file_close (fh); | 1788 | GNUNET_DISK_file_close (fh); |
1789 | } | 1789 | } |
1790 | GNUNET_FS_download_sync_ (dc); | 1790 | GNUNET_FS_download_sync_ (dc); |
1791 | pi.status = GNUNET_FS_STATUS_DOWNLOAD_START; | ||
1792 | pi.value.download.specifics.start.meta = dc->meta; | ||
1793 | GNUNET_FS_download_make_status_ (&pi, dc); | ||
1791 | check_completed (dc); | 1794 | check_completed (dc); |
1792 | return; | 1795 | return; |
1793 | } | 1796 | } |