diff options
Diffstat (limited to 'src/core/test_core_api_reliability.c')
-rw-r--r-- | src/core/test_core_api_reliability.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c index f22a9022e..14b69b80e 100644 --- a/src/core/test_core_api_reliability.c +++ b/src/core/test_core_api_reliability.c | |||
@@ -148,8 +148,7 @@ terminate_task_error (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
148 | static void | 148 | static void |
149 | connect_notify (void *cls, | 149 | connect_notify (void *cls, |
150 | const struct GNUNET_PeerIdentity *peer, | 150 | const struct GNUNET_PeerIdentity *peer, |
151 | struct GNUNET_TIME_Relative latency, | 151 | const struct GNUNET_TRANSPORT_ATS_Information *atsi) |
152 | uint32_t distance) | ||
153 | { | 152 | { |
154 | struct PeerContext *pc = cls; | 153 | struct PeerContext *pc = cls; |
155 | GNUNET_assert (pc->connect_status == 0); | 154 | GNUNET_assert (pc->connect_status == 0); |
@@ -175,8 +174,7 @@ static int | |||
175 | inbound_notify (void *cls, | 174 | inbound_notify (void *cls, |
176 | const struct GNUNET_PeerIdentity *other, | 175 | const struct GNUNET_PeerIdentity *other, |
177 | const struct GNUNET_MessageHeader *message, | 176 | const struct GNUNET_MessageHeader *message, |
178 | struct GNUNET_TIME_Relative latency, | 177 | const struct GNUNET_TRANSPORT_ATS_Information *atsi) |
179 | uint32_t distance) | ||
180 | { | 178 | { |
181 | #if VERBOSE | 179 | #if VERBOSE |
182 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 180 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
@@ -190,8 +188,7 @@ static int | |||
190 | outbound_notify (void *cls, | 188 | outbound_notify (void *cls, |
191 | const struct GNUNET_PeerIdentity *other, | 189 | const struct GNUNET_PeerIdentity *other, |
192 | const struct GNUNET_MessageHeader *message, | 190 | const struct GNUNET_MessageHeader *message, |
193 | struct GNUNET_TIME_Relative latency, | 191 | const struct GNUNET_TRANSPORT_ATS_Information *atsi) |
194 | uint32_t distance) | ||
195 | { | 192 | { |
196 | #if VERBOSE | 193 | #if VERBOSE |
197 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 194 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
@@ -215,8 +212,7 @@ static int | |||
215 | process_mtype (void *cls, | 212 | process_mtype (void *cls, |
216 | const struct GNUNET_PeerIdentity *peer, | 213 | const struct GNUNET_PeerIdentity *peer, |
217 | const struct GNUNET_MessageHeader *message, | 214 | const struct GNUNET_MessageHeader *message, |
218 | struct GNUNET_TIME_Relative latency, | 215 | const struct GNUNET_TRANSPORT_ATS_Information *atsi) |
219 | uint32_t distance) | ||
220 | { | 216 | { |
221 | static int n; | 217 | static int n; |
222 | unsigned int s; | 218 | unsigned int s; |
@@ -366,7 +362,6 @@ init_notify (void *cls, | |||
366 | OKPP; | 362 | OKPP; |
367 | /* connect p2 */ | 363 | /* connect p2 */ |
368 | GNUNET_CORE_connect (p2.cfg, 1, | 364 | GNUNET_CORE_connect (p2.cfg, 1, |
369 | TIMEOUT, | ||
370 | &p2, | 365 | &p2, |
371 | &init_notify, | 366 | &init_notify, |
372 | &connect_notify, | 367 | &connect_notify, |
@@ -456,7 +451,6 @@ run (void *cls, | |||
456 | setup_peer (&p1, "test_core_api_peer1.conf"); | 451 | setup_peer (&p1, "test_core_api_peer1.conf"); |
457 | setup_peer (&p2, "test_core_api_peer2.conf"); | 452 | setup_peer (&p2, "test_core_api_peer2.conf"); |
458 | GNUNET_CORE_connect (p1.cfg, 1, | 453 | GNUNET_CORE_connect (p1.cfg, 1, |
459 | TIMEOUT, | ||
460 | &p1, | 454 | &p1, |
461 | &init_notify, | 455 | &init_notify, |
462 | &connect_notify, | 456 | &connect_notify, |