diff options
Diffstat (limited to 'src/ats/gnunet-service-ats_performance.c')
-rw-r--r-- | src/ats/gnunet-service-ats_performance.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c index 932e7184b..ba1ee2633 100644 --- a/src/ats/gnunet-service-ats_performance.c +++ b/src/ats/gnunet-service-ats_performance.c | |||
@@ -214,6 +214,7 @@ GAS_performance_notify_all_clients (const struct GNUNET_PeerIdentity *peer, | |||
214 | GNUNET_NO); | 214 | GNUNET_NO); |
215 | } | 215 | } |
216 | 216 | ||
217 | |||
217 | static void | 218 | static void |
218 | peerinfo_it (void *cls, | 219 | peerinfo_it (void *cls, |
219 | const struct GNUNET_PeerIdentity *id, | 220 | const struct GNUNET_PeerIdentity *id, |
@@ -240,10 +241,18 @@ peerinfo_it (void *cls, | |||
240 | 241 | ||
241 | } | 242 | } |
242 | 243 | ||
244 | |||
245 | /** | ||
246 | * Iterator for GAS_performance_add_client | ||
247 | * | ||
248 | * @param cls the client requesting information | ||
249 | * @param id result | ||
250 | */ | ||
243 | static void | 251 | static void |
244 | peer_it (void *cls, | 252 | peer_it (void *cls, |
245 | const struct GNUNET_PeerIdentity *id) | 253 | const struct GNUNET_PeerIdentity *id) |
246 | { | 254 | { |
255 | struct PerformanceClient *pc = cls; | ||
247 | if (NULL != id) | 256 | if (NULL != id) |
248 | { | 257 | { |
249 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Callback for peer `%s'\n", GNUNET_i2s (id)); | 258 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Callback for peer `%s'\n", GNUNET_i2s (id)); |