aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-11-13 11:41:56 +0000
committerChristian Grothoff <christian@grothoff.org>2009-11-13 11:41:56 +0000
commit9baabed9a7a45e367458754e7ce6c19b4245f22b (patch)
tree5e376ed33bdf7a1d559ac06370ec0a765dfcbe0e /src/core/test_core_api.c
parenta729eb5f4fdb1b240a705a9f76d6cc0c4a575b9f (diff)
downloadgnunet-9baabed9a7a45e367458754e7ce6c19b4245f22b.tar.gz
gnunet-9baabed9a7a45e367458754e7ce6c19b4245f22b.zip
use add_now
Diffstat (limited to 'src/core/test_core_api.c')
-rw-r--r--src/core/test_core_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/test_core_api.c b/src/core/test_core_api.c
index 6ad396415..901fc12b2 100644
--- a/src/core/test_core_api.c
+++ b/src/core/test_core_api.c
@@ -171,8 +171,7 @@ process_mtype (void *cls,
171 GNUNET_assert (ok == 5); 171 GNUNET_assert (ok == 5);
172 OKPP; 172 OKPP;
173 GNUNET_SCHEDULER_cancel (sched, err_task); 173 GNUNET_SCHEDULER_cancel (sched, err_task);
174 GNUNET_SCHEDULER_add_delayed (sched, 174 GNUNET_SCHEDULER_add_now (sched, &terminate_task, NULL);
175 GNUNET_TIME_UNIT_ZERO, &terminate_task, NULL);
176 return GNUNET_OK; 175 return GNUNET_OK;
177} 176}
178 177