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_search.c | |
parent | b91546a3de767292e6472c6b1927480adba43d88 (diff) | |
download | gnunet-cf45b8dff29c366d51aa2e6ea6a64b99b514b9c9.tar.gz gnunet-cf45b8dff29c366d51aa2e6ea6a64b99b514b9c9.zip |
bugfixes and redesigning scheduler API
Diffstat (limited to 'src/fs/test_fs_search.c')
-rw-r--r-- | src/fs/test_fs_search.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fs/test_fs_search.c b/src/fs/test_fs_search.c index d1b5f77aa..e0961c4a7 100644 --- a/src/fs/test_fs_search.c +++ b/src/fs/test_fs_search.c | |||
@@ -124,7 +124,6 @@ progress_cb (void *cls, | |||
124 | printf ("Search complete.\n"); | 124 | printf ("Search complete.\n"); |
125 | #endif | 125 | #endif |
126 | GNUNET_SCHEDULER_add_continuation (sched, | 126 | GNUNET_SCHEDULER_add_continuation (sched, |
127 | GNUNET_NO, | ||
128 | &abort_search_task, | 127 | &abort_search_task, |
129 | NULL, | 128 | NULL, |
130 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); | 129 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); |
@@ -135,7 +134,6 @@ progress_cb (void *cls, | |||
135 | event->value.publish.specifics.error.message); | 134 | event->value.publish.specifics.error.message); |
136 | GNUNET_break (0); | 135 | GNUNET_break (0); |
137 | GNUNET_SCHEDULER_add_continuation (sched, | 136 | GNUNET_SCHEDULER_add_continuation (sched, |
138 | GNUNET_NO, | ||
139 | &abort_publish_task, | 137 | &abort_publish_task, |
140 | NULL, | 138 | NULL, |
141 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); | 139 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); |
@@ -145,7 +143,6 @@ progress_cb (void *cls, | |||
145 | "Error searching file: %s\n", | 143 | "Error searching file: %s\n", |
146 | event->value.search.specifics.error.message); | 144 | event->value.search.specifics.error.message); |
147 | GNUNET_SCHEDULER_add_continuation (sched, | 145 | GNUNET_SCHEDULER_add_continuation (sched, |
148 | GNUNET_NO, | ||
149 | &abort_search_task, | 146 | &abort_search_task, |
150 | NULL, | 147 | NULL, |
151 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); | 148 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); |
@@ -174,7 +171,6 @@ progress_cb (void *cls, | |||
174 | case GNUNET_FS_STATUS_SEARCH_STOPPED: | 171 | case GNUNET_FS_STATUS_SEARCH_STOPPED: |
175 | GNUNET_assert (search == event->value.search.sc); | 172 | GNUNET_assert (search == event->value.search.sc); |
176 | GNUNET_SCHEDULER_add_continuation (sched, | 173 | GNUNET_SCHEDULER_add_continuation (sched, |
177 | GNUNET_NO, | ||
178 | &abort_publish_task, | 174 | &abort_publish_task, |
179 | NULL, | 175 | NULL, |
180 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); | 176 | GNUNET_SCHEDULER_REASON_PREREQ_DONE); |