diff options
Diffstat (limited to 'src/peerinfo/perf_peerinfo_api.c')
-rwxr-xr-x | src/peerinfo/perf_peerinfo_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peerinfo/perf_peerinfo_api.c b/src/peerinfo/perf_peerinfo_api.c index 41533bd3f..d55ccce2b 100755 --- a/src/peerinfo/perf_peerinfo_api.c +++ b/src/peerinfo/perf_peerinfo_api.c | |||
@@ -82,7 +82,7 @@ address_generator (void *cls, size_t max, void *buf) | |||
82 | static void | 82 | static void |
83 | add_peer (size_t i) | 83 | add_peer (size_t i) |
84 | { | 84 | { |
85 | struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pkey; | 85 | struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded pkey; |
86 | struct GNUNET_HELLO_Message *h2; | 86 | struct GNUNET_HELLO_Message *h2; |
87 | 87 | ||
88 | memset (&pkey, i, sizeof (pkey)); | 88 | memset (&pkey, i, sizeof (pkey)); |
@@ -120,7 +120,7 @@ run (void *cls, | |||
120 | { | 120 | { |
121 | add_peer (i); | 121 | add_peer (i); |
122 | ic[i] = | 122 | ic[i] = |
123 | GNUNET_PEERINFO_iterate (h, NULL, | 123 | GNUNET_PEERINFO_iterate (h, GNUNET_YES, NULL, |
124 | GNUNET_TIME_relative_multiply | 124 | GNUNET_TIME_relative_multiply |
125 | (GNUNET_TIME_UNIT_SECONDS, 30), &process, cls); | 125 | (GNUNET_TIME_UNIT_SECONDS, 30), &process, cls); |
126 | } | 126 | } |