aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-unindex.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-08-03 09:35:48 +0000
committerChristian Grothoff <christian@grothoff.org>2015-08-03 09:35:48 +0000
commitd3e7a5e40dd2d5409009a30e1e41148c4d852673 (patch)
tree21ff19580a99137e9b8aec4393feb67f0f1c7b5a /src/fs/gnunet-unindex.c
parentec69ceabc67a72373a2579d871c5fe85676a73bd (diff)
downloadgnunet-d3e7a5e40dd2d5409009a30e1e41148c4d852673.tar.gz
gnunet-d3e7a5e40dd2d5409009a30e1e41148c4d852673.zip
-use simpler, modern scheduler API
Diffstat (limited to 'src/fs/gnunet-unindex.c')
-rw-r--r--src/fs/gnunet-unindex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fs/gnunet-unindex.c b/src/fs/gnunet-unindex.c
index 5383930e9..52a795240 100644
--- a/src/fs/gnunet-unindex.c
+++ b/src/fs/gnunet-unindex.c
@@ -101,8 +101,7 @@ progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *info)
101 GNUNET_SCHEDULER_shutdown (); 101 GNUNET_SCHEDULER_shutdown ();
102 break; 102 break;
103 case GNUNET_FS_STATUS_UNINDEX_STOPPED: 103 case GNUNET_FS_STATUS_UNINDEX_STOPPED:
104 GNUNET_SCHEDULER_add_continuation (&cleanup_task, NULL, 104 GNUNET_SCHEDULER_add_now (&cleanup_task, NULL);
105 GNUNET_SCHEDULER_REASON_PREREQ_DONE);
106 break; 105 break;
107 default: 106 default:
108 FPRINTF (stderr, _("Unexpected status: %d\n"), info->status); 107 FPRINTF (stderr, _("Unexpected status: %d\n"), info->status);