diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-04-04 12:02:43 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-04-04 12:02:43 +0000 |
commit | 425e9cdea733ca7be9a901abff7a070c460fa84d (patch) | |
tree | c4e2919e2f4183a324801c061fb2d57a3b232ddc /src/peerinfo/test_peerinfo_api.c | |
parent | 6713f0ce7d70cdb5cb0172157e647b8dfb6852ff (diff) | |
download | gnunet-425e9cdea733ca7be9a901abff7a070c460fa84d.tar.gz gnunet-425e9cdea733ca7be9a901abff7a070c460fa84d.zip |
peerinfo API change + changes in code using api
Diffstat (limited to 'src/peerinfo/test_peerinfo_api.c')
-rw-r--r-- | src/peerinfo/test_peerinfo_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peerinfo/test_peerinfo_api.c b/src/peerinfo/test_peerinfo_api.c index 59ea0ac8a..d3dcc2fd0 100644 --- a/src/peerinfo/test_peerinfo_api.c +++ b/src/peerinfo/test_peerinfo_api.c | |||
@@ -120,7 +120,7 @@ process (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
120 | /* try again */ | 120 | /* try again */ |
121 | retries++; | 121 | retries++; |
122 | add_peer (); | 122 | add_peer (); |
123 | ic = GNUNET_PEERINFO_iterate (h, NULL, | 123 | ic = GNUNET_PEERINFO_iterate (h, GNUNET_NO, NULL, |
124 | GNUNET_TIME_relative_multiply | 124 | GNUNET_TIME_relative_multiply |
125 | (GNUNET_TIME_UNIT_SECONDS, 15), &process, | 125 | (GNUNET_TIME_UNIT_SECONDS, 15), &process, |
126 | cls); | 126 | cls); |
@@ -152,7 +152,7 @@ run (void *cls, | |||
152 | h = GNUNET_PEERINFO_connect (cfg); | 152 | h = GNUNET_PEERINFO_connect (cfg); |
153 | GNUNET_assert (NULL != h); | 153 | GNUNET_assert (NULL != h); |
154 | add_peer (); | 154 | add_peer (); |
155 | ic = GNUNET_PEERINFO_iterate (h, NULL, | 155 | ic = GNUNET_PEERINFO_iterate (h, GNUNET_NO, NULL, |
156 | GNUNET_TIME_relative_multiply | 156 | GNUNET_TIME_relative_multiply |
157 | (GNUNET_TIME_UNIT_SECONDS, 15), &process, cls); | 157 | (GNUNET_TIME_UNIT_SECONDS, 15), &process, cls); |
158 | } | 158 | } |