aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api_start_only.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-09 14:53:44 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-09 14:53:44 +0000
commit7ae3bcd234e062c28f66db9758f61af401d0a707 (patch)
treeadb1da7611b0afd6ff0fa094a6f6bc7ebabd174e /src/core/test_core_api_start_only.c
parent006eb1c4f3307fe89c786c2f1ac866611e33d3cd (diff)
downloadgnunet-7ae3bcd234e062c28f66db9758f61af401d0a707.tar.gz
gnunet-7ae3bcd234e062c28f66db9758f61af401d0a707.zip
-simplifying core API (#2400)
Diffstat (limited to 'src/core/test_core_api_start_only.c')
-rw-r--r--src/core/test_core_api_start_only.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/test_core_api_start_only.c b/src/core/test_core_api_start_only.c
index 8c8132043..308814b21 100644
--- a/src/core/test_core_api_start_only.c
+++ b/src/core/test_core_api_start_only.c
@@ -129,7 +129,7 @@ init_notify (void *cls, struct GNUNET_CORE_Handle *server,
129 { 129 {
130 /* connect p2 */ 130 /* connect p2 */
131 p2.ch = 131 p2.ch =
132 GNUNET_CORE_connect (p2.cfg, 1, &p2, &init_notify, &connect_notify, 132 GNUNET_CORE_connect (p2.cfg, &p2, &init_notify, &connect_notify,
133 &disconnect_notify, &inbound_notify, GNUNET_YES, 133 &disconnect_notify, &inbound_notify, GNUNET_YES,
134 &outbound_notify, GNUNET_YES, handlers); 134 &outbound_notify, GNUNET_YES, handlers);
135 } 135 }
@@ -191,7 +191,7 @@ run (void *cls, char *const *args, const char *cfgfile,
191 (GNUNET_TIME_UNIT_MINUTES, TIMEOUT), 191 (GNUNET_TIME_UNIT_MINUTES, TIMEOUT),
192 &timeout_task, NULL); 192 &timeout_task, NULL);
193 p1.ch = 193 p1.ch =
194 GNUNET_CORE_connect (p1.cfg, 1, &p1, &init_notify, &connect_notify, 194 GNUNET_CORE_connect (p1.cfg, &p1, &init_notify, &connect_notify,
195 &disconnect_notify, &inbound_notify, GNUNET_YES, 195 &disconnect_notify, &inbound_notify, GNUNET_YES,
196 &outbound_notify, GNUNET_YES, handlers); 196 &outbound_notify, GNUNET_YES, handlers);
197} 197}