From 8fd8fedc315fabc3560dc2e1028378d89295147a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 4 Feb 2012 21:18:27 +0000 Subject: [PATCH] -always signal download start before 'completed', even for 0-byte files --- src/fs/fs_download.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.25.1