diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-11-11 11:05:29 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-11-11 11:05:29 +0000 |
commit | 1b18069ef2567ffe0994c799d1d179329d629ca9 (patch) | |
tree | 187639305dfb68861d7391648a3ae33329e2a6ad /src/core/test_core_api.c | |
parent | 9ab4762f15c31781e369db9d1358697f243ee650 (diff) | |
download | gnunet-1b18069ef2567ffe0994c799d1d179329d629ca9.tar.gz gnunet-1b18069ef2567ffe0994c799d1d179329d629ca9.zip |
adding argument to GNUNET_CORE_connect -- not yet implemented
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 65b09c835..129184587 100644 --- a/src/core/test_core_api.c +++ b/src/core/test_core_api.c | |||
@@ -219,7 +219,7 @@ init_notify (void *cls, | |||
219 | GNUNET_assert (ok == 2); | 219 | GNUNET_assert (ok == 2); |
220 | OKPP; | 220 | OKPP; |
221 | /* connect p2 */ | 221 | /* connect p2 */ |
222 | GNUNET_CORE_connect (p2.cfg, | 222 | GNUNET_CORE_connect (p2.cfg, 1, |
223 | TIMEOUT, | 223 | TIMEOUT, |
224 | &p2, | 224 | &p2, |
225 | &init_notify, | 225 | &init_notify, |
@@ -310,7 +310,7 @@ run (void *cls, | |||
310 | OKPP; | 310 | OKPP; |
311 | setup_peer (&p1, "test_core_api_peer1.conf"); | 311 | setup_peer (&p1, "test_core_api_peer1.conf"); |
312 | setup_peer (&p2, "test_core_api_peer2.conf"); | 312 | setup_peer (&p2, "test_core_api_peer2.conf"); |
313 | GNUNET_CORE_connect (p1.cfg, | 313 | GNUNET_CORE_connect (p1.cfg, 1, |
314 | TIMEOUT, | 314 | TIMEOUT, |
315 | &p1, | 315 | &p1, |
316 | &init_notify, | 316 | &init_notify, |