diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-05-11 19:40:39 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-05-11 19:40:39 +0000 |
commit | 5882a0a99902e4555f78a05a3d68dc72f864437f (patch) | |
tree | c080e0c35c98a1548d7dd8c1f1df6c16ba93508a /src/core/test_core_api.c | |
parent | f557d63b75c8b14922e4a308dfc486f7e4e9f6db (diff) | |
download | gnunet-5882a0a99902e4555f78a05a3d68dc72f864437f.tar.gz gnunet-5882a0a99902e4555f78a05a3d68dc72f864437f.zip |
die unstoppable multi api, die
Diffstat (limited to 'src/core/test_core_api.c')
-rw-r--r-- | src/core/test_core_api.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/test_core_api.c b/src/core/test_core_api.c index 6b8387461..676bbb29c 100644 --- a/src/core/test_core_api.c +++ b/src/core/test_core_api.c | |||
@@ -82,8 +82,6 @@ terminate_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
82 | GNUNET_CORE_disconnect (p2.ch); | 82 | GNUNET_CORE_disconnect (p2.ch); |
83 | GNUNET_TRANSPORT_disconnect (p1.th); | 83 | GNUNET_TRANSPORT_disconnect (p1.th); |
84 | GNUNET_TRANSPORT_disconnect (p2.th); | 84 | GNUNET_TRANSPORT_disconnect (p2.th); |
85 | GNUNET_ARM_stop_services (p1.cfg, sched, "core", NULL); | ||
86 | GNUNET_ARM_stop_services (p2.cfg, sched, "core", NULL); | ||
87 | ok = 0; | 85 | ok = 0; |
88 | } | 86 | } |
89 | 87 | ||
@@ -99,8 +97,6 @@ terminate_task_error (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
99 | GNUNET_CORE_disconnect (p2.ch); | 97 | GNUNET_CORE_disconnect (p2.ch); |
100 | GNUNET_TRANSPORT_disconnect (p1.th); | 98 | GNUNET_TRANSPORT_disconnect (p1.th); |
101 | GNUNET_TRANSPORT_disconnect (p2.th); | 99 | GNUNET_TRANSPORT_disconnect (p2.th); |
102 | GNUNET_ARM_stop_services (p1.cfg, sched, "core", NULL); | ||
103 | GNUNET_ARM_stop_services (p2.cfg, sched, "core", NULL); | ||
104 | ok = 42; | 100 | ok = 42; |
105 | } | 101 | } |
106 | 102 | ||
@@ -300,7 +296,6 @@ setup_peer (struct PeerContext *p, const char *cfgname) | |||
300 | "-c", cfgname, NULL); | 296 | "-c", cfgname, NULL); |
301 | #endif | 297 | #endif |
302 | GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname)); | 298 | GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (p->cfg, cfgname)); |
303 | GNUNET_ARM_start_services (p->cfg, sched, "core", NULL); | ||
304 | p->th = GNUNET_TRANSPORT_connect (sched, p->cfg, p, NULL, NULL, NULL); | 299 | p->th = GNUNET_TRANSPORT_connect (sched, p->cfg, p, NULL, NULL, NULL); |
305 | GNUNET_assert (p->th != NULL); | 300 | GNUNET_assert (p->th != NULL); |
306 | GNUNET_TRANSPORT_get_hello (p->th, &process_hello, p); | 301 | GNUNET_TRANSPORT_get_hello (p->th, &process_hello, p); |