aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/peerinfo/test_peerinfo_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerinfo/test_peerinfo_api.c b/src/peerinfo/test_peerinfo_api.c
index a375ca40e1..4cbbb7bf61 100644
--- a/src/peerinfo/test_peerinfo_api.c
+++ b/src/peerinfo/test_peerinfo_api.c
@@ -117,7 +117,7 @@ run (void *cls,
hello = GNUNET_HELLO_create (&pkey, &address_generator, &agc);
GNUNET_assert (hello != NULL);
GNUNET_PEERINFO_add_peer (cfg, sched, &pid, hello);
- GNUNET_PEERINFO_for_all (cfg,
+ GNUNET_PEERINFO_iterate (cfg,
sched,
NULL,
0,