From: Christian Grothoff Date: Tue, 4 Oct 2011 13:18:47 +0000 (+0000) Subject: fix stat, count 2nd case as well X-Git-Tag: initial-import-from-subversion-38251~16820 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=843244489bd75e1564acd908a6f8ae27067937f3;p=oweals%2Fgnunet.git fix stat, count 2nd case as well --- diff --git a/src/dht/gnunet-service-dht_clients.c b/src/dht/gnunet-service-dht_clients.c index 455b9210e..08b189a31 100644 --- a/src/dht/gnunet-service-dht_clients.c +++ b/src/dht/gnunet-service-dht_clients.c @@ -876,6 +876,9 @@ GDS_CLIENTS_handle_reply (struct GNUNET_TIME_Absolute expiration, if (GNUNET_NO == frc.do_copy) { /* did not match any of the requests, free! */ + GNUNET_STATISTICS_update (GDS_stats, + gettext_noop ("# REPLIES ignored for CLIENTS (no match)"), 1, + GNUNET_NO); GNUNET_free (pm); } }