diff options
Diffstat (limited to 'src/hostlist/test_gnunet_daemon_hostlist_learning.c')
-rw-r--r-- | src/hostlist/test_gnunet_daemon_hostlist_learning.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/hostlist/test_gnunet_daemon_hostlist_learning.c b/src/hostlist/test_gnunet_daemon_hostlist_learning.c index d64fdf587..c780c128b 100644 --- a/src/hostlist/test_gnunet_daemon_hostlist_learning.c +++ b/src/hostlist/test_gnunet_daemon_hostlist_learning.c | |||
@@ -283,11 +283,11 @@ check_statistics (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
283 | /** | 283 | /** |
284 | * Core handler for p2p hostlist advertisements | 284 | * Core handler for p2p hostlist advertisements |
285 | */ | 285 | */ |
286 | static int ad_arrive_handler (void *cls, | 286 | static int |
287 | const struct GNUNET_PeerIdentity * peer, | 287 | ad_arrive_handler (void *cls, |
288 | const struct GNUNET_MessageHeader * message, | 288 | const struct GNUNET_PeerIdentity * peer, |
289 | struct GNUNET_TIME_Relative latency, | 289 | const struct GNUNET_MessageHeader * message, |
290 | uint32_t distance) | 290 | const struct GNUNET_TRANSPORT_ATS_Information *atsi) |
291 | { | 291 | { |
292 | char *hostname; | 292 | char *hostname; |
293 | char *expected_uri; | 293 | char *expected_uri; |
@@ -371,7 +371,6 @@ setup_learn_peer (struct PeerContext *p, const char *cfgname) | |||
371 | 371 | ||
372 | p->core = GNUNET_CORE_connect (p->cfg, | 372 | p->core = GNUNET_CORE_connect (p->cfg, |
373 | 1, | 373 | 1, |
374 | GNUNET_TIME_UNIT_FOREVER_REL, | ||
375 | NULL, | 374 | NULL, |
376 | NULL, | 375 | NULL, |
377 | NULL, NULL, NULL, | 376 | NULL, NULL, NULL, |