aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/plugin_transport_udp.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c
index 4333432ccd..c4ea37ee2a 100644
--- a/src/transport/plugin_transport_udp.c
+++ b/src/transport/plugin_transport_udp.c
@@ -985,13 +985,9 @@ dequeue (struct Plugin *plugin, struct UDP_MessageWrapper * udpw)
{
GNUNET_STATISTICS_update (plugin->env->stats,
"# UDP, total, bytes in buffers",
- udpw->msg_size, GNUNET_NO);
+ -udpw->msg_size, GNUNET_NO);
plugin->bytes_in_buffer -= udpw->msg_size;
}
-
- GNUNET_STATISTICS_update (plugin->env->stats,
- "# UDP, total, bytes in buffers",
- -udpw->msg_size, GNUNET_NO);
GNUNET_STATISTICS_update (plugin->env->stats,
"# UDP, total, msgs in buffers",
-1, GNUNET_NO);