diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-11-04 14:10:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-11-04 14:10:32 +0000 |
commit | cf45b8dff29c366d51aa2e6ea6a64b99b514b9c9 (patch) | |
tree | 5cb37c041743daff5af528dbbe24f5c563ce702e /src/fs/test_fs_unindex.c | |
parent | b91546a3de767292e6472c6b1927480adba43d88 (diff) | |
download | gnunet-cf45b8dff29c366d51aa2e6ea6a64b99b514b9c9.tar.gz gnunet-cf45b8dff29c366d51aa2e6ea6a64b99b514b9c9.zip |
bugfixes and redesigning scheduler API
Diffstat (limited to 'src/fs/test_fs_unindex.c')
-rw-r--r-- | src/fs/test_fs_unindex.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fs/test_fs_unindex.c b/src/fs/test_fs_unindex.c index eb10c1db9..af9db7400 100644 --- a/src/fs/test_fs_unindex.c +++ b/src/fs/test_fs_unindex.c | |||
@@ -121,7 +121,6 @@ progress_cb (void *cls, | |||
121 | printf ("Unindex complete, %llu kbps.\n", | 121 | printf ("Unindex complete, %llu kbps.\n", |
122 | (unsigned long long) (FILESIZE * 1000 / (1+GNUNET_TIME_absolute_get_duration (start).value) / 1024)); | 122 | (unsigned long long) (FILESIZE * 1000 / (1+GNUNET_TIME_absolute_get_duration (start).value) / 1024)); |
123 | GNUNET_SCHEDULER_add_continuation (sched, | 123 | GNUNET_SCHEDULER_add_continuation (sched, |
124 | GNUNET_NO, | ||
125 | &abort_unindex_task, | 124 | &abort_unindex_task, |
126 | NULL, | 125 | NULL, |
127 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); | 126 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); |
@@ -142,7 +141,6 @@ progress_cb (void *cls, | |||
142 | event->value.publish.specifics.error.message); | 141 | event->value.publish.specifics.error.message); |
143 | GNUNET_break (0); | 142 | GNUNET_break (0); |
144 | GNUNET_SCHEDULER_add_continuation (sched, | 143 | GNUNET_SCHEDULER_add_continuation (sched, |
145 | GNUNET_NO, | ||
146 | &abort_publish_task, | 144 | &abort_publish_task, |
147 | NULL, | 145 | NULL, |
148 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); | 146 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); |
@@ -152,7 +150,6 @@ progress_cb (void *cls, | |||
152 | "Error unindexing file: %s\n", | 150 | "Error unindexing file: %s\n", |
153 | event->value.unindex.specifics.error.message); | 151 | event->value.unindex.specifics.error.message); |
154 | GNUNET_SCHEDULER_add_continuation (sched, | 152 | GNUNET_SCHEDULER_add_continuation (sched, |
155 | GNUNET_NO, | ||
156 | &abort_unindex_task, | 153 | &abort_unindex_task, |
157 | NULL, | 154 | NULL, |
158 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); | 155 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); |
@@ -181,7 +178,6 @@ progress_cb (void *cls, | |||
181 | case GNUNET_FS_STATUS_UNINDEX_STOPPED: | 178 | case GNUNET_FS_STATUS_UNINDEX_STOPPED: |
182 | GNUNET_assert (unindex == event->value.unindex.uc); | 179 | GNUNET_assert (unindex == event->value.unindex.uc); |
183 | GNUNET_SCHEDULER_add_continuation (sched, | 180 | GNUNET_SCHEDULER_add_continuation (sched, |
184 | GNUNET_NO, | ||
185 | &abort_publish_task, | 181 | &abort_publish_task, |
186 | NULL, | 182 | NULL, |
187 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); | 183 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); |