diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-12-13 20:08:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-12-13 20:08:11 +0000 |
commit | 7ee0e1af2fb61d09bdc646fbdbaa0a698330a478 (patch) | |
tree | 6bde5814c1ff6de6969b58bf347327485bc277c9 /src/dht/gnunet-service-dht_neighbours.c | |
parent | a4473b58bdd25d7e3531cbc50086e75ae62b769b (diff) | |
download | gnunet-7ee0e1af2fb61d09bdc646fbdbaa0a698330a478.tar.gz gnunet-7ee0e1af2fb61d09bdc646fbdbaa0a698330a478.zip |
-doxygen, one more statistic
Diffstat (limited to 'src/dht/gnunet-service-dht_neighbours.c')
-rw-r--r-- | src/dht/gnunet-service-dht_neighbours.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c index cc1e97bfd..38a9c45ad 100644 --- a/src/dht/gnunet-service-dht_neighbours.c +++ b/src/dht/gnunet-service-dht_neighbours.c | |||
@@ -24,7 +24,6 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | * @author Nathan Evans | 25 | * @author Nathan Evans |
26 | */ | 26 | */ |
27 | |||
28 | #include "platform.h" | 27 | #include "platform.h" |
29 | #include "gnunet_util_lib.h" | 28 | #include "gnunet_util_lib.h" |
30 | #include "gnunet_block_lib.h" | 29 | #include "gnunet_block_lib.h" |
@@ -789,6 +788,11 @@ core_transmit_notify (void *cls, size_t size, void *buf) | |||
789 | while ((NULL != (pending = peer->head)) && | 788 | while ((NULL != (pending = peer->head)) && |
790 | (0 == GNUNET_TIME_absolute_get_remaining (pending->timeout).rel_value_us)) | 789 | (0 == GNUNET_TIME_absolute_get_remaining (pending->timeout).rel_value_us)) |
791 | { | 790 | { |
791 | GNUNET_STATISTICS_update (GDS_stats, | ||
792 | gettext_noop | ||
793 | ("# Messages dropped (CORE timeout)"), | ||
794 | 1, | ||
795 | GNUNET_NO); | ||
792 | peer->pending_count--; | 796 | peer->pending_count--; |
793 | GNUNET_CONTAINER_DLL_remove (peer->head, peer->tail, pending); | 797 | GNUNET_CONTAINER_DLL_remove (peer->head, peer->tail, pending); |
794 | GNUNET_free (pending); | 798 | GNUNET_free (pending); |