From: Christian Grothoff Date: Tue, 28 Feb 2017 13:56:37 +0000 (+0100) Subject: more stats for happy Florian X-Git-Tag: taler-0.2.1~8^2~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b567a7a9231f91f0c5f7c074bb6904471e3f85ad;p=oweals%2Fgnunet.git more stats for happy Florian --- 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",