diff options
Diffstat (limited to 'src/rps/gnunet-service-rps.c')
-rw-r--r-- | src/rps/gnunet-service-rps.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index 1fdcfe4ca..e929c89de 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c | |||
@@ -2602,6 +2602,13 @@ insert_in_sampler (void *cls, | |||
2602 | * messages to it */ | 2602 | * messages to it */ |
2603 | //indicate_sending_intention (peer); | 2603 | //indicate_sending_intention (peer); |
2604 | } | 2604 | } |
2605 | if (sub == msub) | ||
2606 | { | ||
2607 | GNUNET_STATISTICS_update (stats, | ||
2608 | "# observed peers in gossip", | ||
2609 | 1, | ||
2610 | GNUNET_NO); | ||
2611 | } | ||
2605 | #ifdef TO_FILE | 2612 | #ifdef TO_FILE |
2606 | sub->num_observed_peers++; | 2613 | sub->num_observed_peers++; |
2607 | GNUNET_CONTAINER_multipeermap_put | 2614 | GNUNET_CONTAINER_multipeermap_put |