done
authorChristian Grothoff <christian@grothoff.org>
Fri, 4 Jun 2010 09:32:44 +0000 (09:32 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 4 Jun 2010 09:32:44 +0000 (09:32 +0000)
TODO
src/fs/gnunet-service-fs.c

diff --git a/TODO b/TODO
index d13d1ee879a4a8881db24f00a40aa913c990c0da..f9d775098d3c708ab222f213a60690f6f1e2162c 100644 (file)
--- a/TODO
+++ b/TODO
@@ -6,7 +6,6 @@
       is supposed to die; the OTHER FS service (the one that was supposed to die) is still up!
   - TTL/priority calculations
   - hot-path routing, load considerations
-  - statistics
   - active reply route caching design & implementation of service; gap extension!
 * TRANSPORT:
   - HTTP backend [MW]
index 5389255c4d938456e4952e13adcc6e28d4e339dd..c5a47973c2d6b3efe51a4cdfeb01a0926c551688 100644 (file)
@@ -1601,7 +1601,10 @@ add_to_pending_messages_for_peer (struct ConnectedPeer *cp,
       GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
                  "Failed to schedule transmission with core!\n");
 #endif
-      /* FIXME: call stats (rare, bad case) */
+      GNUNET_STATISTICS_update (stats,
+                               gettext_noop ("# CORE transmission failures"),
+                               1,
+                               GNUNET_NO);
     }
 }