gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: more stats for happy Floria


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: more stats for happy Florian
Date: Tue, 28 Feb 2017 14:55:14 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new b567a7a92 more stats for happy Florian
b567a7a92 is described below

commit b567a7a9231f91f0c5f7c074bb6904471e3f85ad
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Feb 28 14:56:37 2017 +0100

    more stats for happy Florian
---
 src/cadet/gnunet-service-cadet-new.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/cadet/gnunet-service-cadet-new.c 
b/src/cadet/gnunet-service-cadet-new.c
index 02126d57d..93f53de4c 100644
--- a/src/cadet/gnunet-service-cadet-new.c
+++ b/src/cadet/gnunet-service-cadet-new.c
@@ -724,6 +724,10 @@ handle_local_data (void *cls,
     return;
   }
   payload_size = ntohs (msg->header.size) - sizeof (*msg);
+  GNUNET_STATISTICS_update (stats,
+                            "# payload received from clients",
+                            payload_size,
+                            GNUNET_NO);
   buf = (const char *) &msg[1];
   LOG (GNUNET_ERROR_TYPE_DEBUG,
        "Received %u bytes payload from %s for %s\n",

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]