aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core_neighbours.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-22 21:10:29 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-22 21:10:29 +0000
commit20c50963ee33c2f4bce9ef5fafe7ed3ecb89c70b (patch)
tree8572c23e521ec455e5d1c03bc764e8df444b735b /src/core/gnunet-service-core_neighbours.c
parent345c0b5c542f9cc5c6ee5839f9fff808793eb7f1 (diff)
downloadgnunet-20c50963ee33c2f4bce9ef5fafe7ed3ecb89c70b.tar.gz
gnunet-20c50963ee33c2f4bce9ef5fafe7ed3ecb89c70b.zip
more stats
Diffstat (limited to 'src/core/gnunet-service-core_neighbours.c')
-rw-r--r--src/core/gnunet-service-core_neighbours.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/gnunet-service-core_neighbours.c b/src/core/gnunet-service-core_neighbours.c
index 596836216..9b33a286e 100644
--- a/src/core/gnunet-service-core_neighbours.c
+++ b/src/core/gnunet-service-core_neighbours.c
@@ -158,6 +158,10 @@ free_neighbour (struct Neighbour *n)
158 GNUNET_TRANSPORT_notify_transmit_ready_cancel (n->th); 158 GNUNET_TRANSPORT_notify_transmit_ready_cancel (n->th);
159 n->th = NULL; 159 n->th = NULL;
160 } 160 }
161 GNUNET_STATISTICS_update (GSC_stats,
162 gettext_noop ("# sessions terminated by transport disconnect"),
163 1,
164 GNUNET_NO);
161 GSC_SESSIONS_end (&n->peer); 165 GSC_SESSIONS_end (&n->peer);
162 if (NULL != n->kxinfo) 166 if (NULL != n->kxinfo)
163 { 167 {