diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-10 11:29:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-10 11:29:59 +0000 |
commit | 4e49d814f8c52d784e8aa7bd57a40eda7656d3c0 (patch) | |
tree | 86f9971794e0d72f8de9ac2886fd11e85ccde7c1 /src/core/test_core_api.c | |
parent | 0a15f777a19feea3937264b6acf96685b76bbc45 (diff) | |
download | gnunet-4e49d814f8c52d784e8aa7bd57a40eda7656d3c0.tar.gz gnunet-4e49d814f8c52d784e8aa7bd57a40eda7656d3c0.zip |
another core API simplification due to ATS introduction
Diffstat (limited to 'src/core/test_core_api.c')
-rw-r--r-- | src/core/test_core_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/test_core_api.c b/src/core/test_core_api.c index 7695f9e86..db3bb4ce5 100644 --- a/src/core/test_core_api.c +++ b/src/core/test_core_api.c | |||
@@ -299,7 +299,7 @@ init_notify (void *cls, struct GNUNET_CORE_Handle *server, | |||
299 | /* connect p2 */ | 299 | /* connect p2 */ |
300 | p2.ch = | 300 | p2.ch = |
301 | GNUNET_CORE_connect (p2.cfg, 1, &p2, &init_notify, &connect_notify, | 301 | GNUNET_CORE_connect (p2.cfg, 1, &p2, &init_notify, &connect_notify, |
302 | &disconnect_notify, NULL, &inbound_notify, | 302 | &disconnect_notify, &inbound_notify, |
303 | GNUNET_YES, &outbound_notify, GNUNET_YES, | 303 | GNUNET_YES, &outbound_notify, GNUNET_YES, |
304 | handlers); | 304 | handlers); |
305 | } | 305 | } |
@@ -347,7 +347,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
347 | &terminate_task_error, NULL); | 347 | &terminate_task_error, NULL); |
348 | p1.ch = | 348 | p1.ch = |
349 | GNUNET_CORE_connect (p1.cfg, 1, &p1, &init_notify, &connect_notify, | 349 | GNUNET_CORE_connect (p1.cfg, 1, &p1, &init_notify, &connect_notify, |
350 | &disconnect_notify, NULL, &inbound_notify, | 350 | &disconnect_notify, &inbound_notify, |
351 | GNUNET_YES, &outbound_notify, GNUNET_YES, handlers); | 351 | GNUNET_YES, &outbound_notify, GNUNET_YES, handlers); |
352 | } | 352 | } |
353 | 353 | ||