diff options
Diffstat (limited to 'src/peerinfo/gnunet-peerinfo.c')
-rw-r--r-- | src/peerinfo/gnunet-peerinfo.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/peerinfo/gnunet-peerinfo.c b/src/peerinfo/gnunet-peerinfo.c index 931673ed9..8c469dad9 100644 --- a/src/peerinfo/gnunet-peerinfo.c +++ b/src/peerinfo/gnunet-peerinfo.c | |||
@@ -85,13 +85,13 @@ run (void *cls, | |||
85 | 85 | ||
86 | if (get_self != GNUNET_YES) | 86 | if (get_self != GNUNET_YES) |
87 | { | 87 | { |
88 | GNUNET_PEERINFO_for_all (cfg, | 88 | (void) GNUNET_PEERINFO_iterate (cfg, |
89 | sched, | 89 | sched, |
90 | NULL, | 90 | NULL, |
91 | 0, | 91 | 0, |
92 | GNUNET_TIME_relative_multiply | 92 | GNUNET_TIME_relative_multiply |
93 | (GNUNET_TIME_UNIT_SECONDS, 30), | 93 | (GNUNET_TIME_UNIT_SECONDS, 30), |
94 | &print_peer_info, NULL); | 94 | &print_peer_info, NULL); |
95 | } | 95 | } |
96 | else | 96 | else |
97 | { | 97 | { |