fix stat, count 2nd case as well
authorChristian Grothoff <christian@grothoff.org>
Tue, 4 Oct 2011 13:18:47 +0000 (13:18 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 4 Oct 2011 13:18:47 +0000 (13:18 +0000)
src/dht/gnunet-service-dht_clients.c

index 455b9210ed527864486eeda83565ac1ecf4ab4bd..08b189a31da24b79def84d86285af6ccdec11375 100644 (file)
@@ -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);
     }
 }