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_start_only.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_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 da7217f39..e39179196 100644 --- a/src/core/test_core_api_start_only.c +++ b/src/core/test_core_api_start_only.c | |||
@@ -125,7 +125,7 @@ init_notify (void *cls, | |||
125 | if (cls == &p1) | 125 | if (cls == &p1) |
126 | { | 126 | { |
127 | /* connect p2 */ | 127 | /* connect p2 */ |
128 | GNUNET_CORE_connect (p2.cfg, | 128 | GNUNET_CORE_connect (p2.cfg, 1, |
129 | TIMEOUT, | 129 | TIMEOUT, |
130 | &p2, | 130 | &p2, |
131 | &init_notify, | 131 | &init_notify, |
@@ -172,7 +172,7 @@ run (void *cls, | |||
172 | OKPP; | 172 | OKPP; |
173 | setup_peer (&p1, "test_core_api_peer1.conf"); | 173 | setup_peer (&p1, "test_core_api_peer1.conf"); |
174 | setup_peer (&p2, "test_core_api_peer2.conf"); | 174 | setup_peer (&p2, "test_core_api_peer2.conf"); |
175 | GNUNET_CORE_connect (p1.cfg, | 175 | GNUNET_CORE_connect (p1.cfg, 1, |
176 | TIMEOUT, | 176 | TIMEOUT, |
177 | &p1, | 177 | &p1, |
178 | &init_notify, | 178 | &init_notify, |