From d3e7a5e40dd2d5409009a30e1e41148c4d852673 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 3 Aug 2015 09:35:48 +0000 Subject: -use simpler, modern scheduler API --- src/fs/gnunet-download.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/fs/gnunet-download.c') 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) break; case GNUNET_FS_STATUS_DOWNLOAD_STOPPED: if (info->value.download.dc == dc) - GNUNET_SCHEDULER_add_continuation (&cleanup_task, NULL, - GNUNET_SCHEDULER_REASON_PREREQ_DONE); + GNUNET_SCHEDULER_add_now (&cleanup_task, NULL); break; case GNUNET_FS_STATUS_DOWNLOAD_ACTIVE: case GNUNET_FS_STATUS_DOWNLOAD_INACTIVE: -- cgit v1.2.3