aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/gnunet-service-revocation.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-03-20 23:30:26 +0000
committerChristian Grothoff <christian@grothoff.org>2015-03-20 23:30:26 +0000
commit6040cb3e9e78d9e8bfae690cabafe676b3bbbeb5 (patch)
treeb220ad221524d64fdc63b3fd442d7159158354f0 /src/revocation/gnunet-service-revocation.c
parentddc55c4321748e6f39b229d0993479f25b62984c (diff)
downloadgnunet-6040cb3e9e78d9e8bfae690cabafe676b3bbbeb5.tar.gz
gnunet-6040cb3e9e78d9e8bfae690cabafe676b3bbbeb5.zip
-fix counting
Diffstat (limited to 'src/revocation/gnunet-service-revocation.c')
-rw-r--r--src/revocation/gnunet-service-revocation.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/revocation/gnunet-service-revocation.c b/src/revocation/gnunet-service-revocation.c
index f5ed5fcbc..11ce85064 100644
--- a/src/revocation/gnunet-service-revocation.c
+++ b/src/revocation/gnunet-service-revocation.c
@@ -523,6 +523,10 @@ handle_core_connect (void *cls,
523 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 523 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
524 "Peer `%s' connected to us\n", 524 "Peer `%s' connected to us\n",
525 GNUNET_i2s (peer)); 525 GNUNET_i2s (peer));
526 GNUNET_STATISTICS_update (stats,
527 "# peers connected",
528 1,
529 GNUNET_NO);
526 peer_entry = GNUNET_CONTAINER_multipeermap_get (peers, 530 peer_entry = GNUNET_CONTAINER_multipeermap_get (peers,
527 peer); 531 peer);
528 if (NULL != peer_entry) 532 if (NULL != peer_entry)
@@ -558,10 +562,6 @@ handle_core_connect (void *cls,
558 &transmit_task_cb, 562 &transmit_task_cb,
559 peer_entry); 563 peer_entry);
560 } 564 }
561 GNUNET_STATISTICS_update (stats,
562 "# peers connected",
563 1,
564 GNUNET_NO);
565} 565}
566 566
567 567