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_start_only.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_start_only.c')
-rw-r--r-- | src/core/test_core_api_start_only.c | 4 |
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 6b1f3da1c..744758191 100644 --- a/src/core/test_core_api_start_only.c +++ b/src/core/test_core_api_start_only.c | |||
@@ -127,7 +127,7 @@ init_notify (void *cls, struct GNUNET_CORE_Handle *server, | |||
127 | /* connect p2 */ | 127 | /* connect p2 */ |
128 | p2.ch = | 128 | p2.ch = |
129 | GNUNET_CORE_connect (p2.cfg, 1, &p2, &init_notify, &connect_notify, | 129 | GNUNET_CORE_connect (p2.cfg, 1, &p2, &init_notify, &connect_notify, |
130 | &disconnect_notify, NULL, &inbound_notify, | 130 | &disconnect_notify, &inbound_notify, |
131 | GNUNET_YES, &outbound_notify, GNUNET_YES, | 131 | GNUNET_YES, &outbound_notify, GNUNET_YES, |
132 | handlers); | 132 | handlers); |
133 | } | 133 | } |
@@ -190,7 +190,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
190 | &timeout_task, NULL); | 190 | &timeout_task, NULL); |
191 | p1.ch = | 191 | p1.ch = |
192 | GNUNET_CORE_connect (p1.cfg, 1, &p1, &init_notify, &connect_notify, | 192 | GNUNET_CORE_connect (p1.cfg, 1, &p1, &init_notify, &connect_notify, |
193 | &disconnect_notify, NULL, &inbound_notify, | 193 | &disconnect_notify, &inbound_notify, |
194 | GNUNET_YES, &outbound_notify, GNUNET_YES, handlers); | 194 | GNUNET_YES, &outbound_notify, GNUNET_YES, handlers); |
195 | } | 195 | } |
196 | 196 | ||