From: Christian Grothoff Date: Sat, 4 Feb 2012 21:18:27 +0000 (+0000) Subject: -always signal download start before 'completed', even for 0-byte files X-Git-Tag: initial-import-from-subversion-38251~14937 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8fd8fedc315fabc3560dc2e1028378d89295147a;p=oweals%2Fgnunet.git -always signal download start before 'completed', even for 0-byte files --- 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, GNUNET_DISK_file_close (fh); } GNUNET_FS_download_sync_ (dc); + pi.status = GNUNET_FS_STATUS_DOWNLOAD_START; + pi.value.download.specifics.start.meta = dc->meta; + GNUNET_FS_download_make_status_ (&pi, dc); check_completed (dc); return; }