diff options
Diffstat (limited to 'src/fs/gnunet-download.c')
-rw-r--r-- | src/fs/gnunet-download.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fs/gnunet-download.c b/src/fs/gnunet-download.c index 10f890c0f..0f1dfaa7c 100644 --- a/src/fs/gnunet-download.c +++ b/src/fs/gnunet-download.c | |||
@@ -199,8 +199,7 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *info) | |||
199 | break; | 199 | break; |
200 | case GNUNET_FS_STATUS_DOWNLOAD_STOPPED: | 200 | case GNUNET_FS_STATUS_DOWNLOAD_STOPPED: |
201 | if (info->value.download.dc == dc) | 201 | if (info->value.download.dc == dc) |
202 | GNUNET_SCHEDULER_add_continuation (&cleanup_task, NULL, | 202 | GNUNET_SCHEDULER_add_now (&cleanup_task, NULL); |
203 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); | ||
204 | break; | 203 | break; |
205 | case GNUNET_FS_STATUS_DOWNLOAD_ACTIVE: | 204 | case GNUNET_FS_STATUS_DOWNLOAD_ACTIVE: |
206 | case GNUNET_FS_STATUS_DOWNLOAD_INACTIVE: | 205 | case GNUNET_FS_STATUS_DOWNLOAD_INACTIVE: |