commit b567a7a9231f91f0c5f7c074bb6904471e3f85ad
parent 7079032ef4d9db825b158e564434205af497f27f
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 28 Feb 2017 14:56:37 +0100
more stats for happy Florian
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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",