diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-08-03 09:35:48 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-08-03 09:35:48 +0000 |
commit | d3e7a5e40dd2d5409009a30e1e41148c4d852673 (patch) | |
tree | 21ff19580a99137e9b8aec4393feb67f0f1c7b5a /src/fs/gnunet-download.c | |
parent | ec69ceabc67a72373a2579d871c5fe85676a73bd (diff) | |
download | gnunet-d3e7a5e40dd2d5409009a30e1e41148c4d852673.tar.gz gnunet-d3e7a5e40dd2d5409009a30e1e41148c4d852673.zip |
-use simpler, modern scheduler API
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: |