From be439fcd10eb22d3b591c65fe5d79afb481ee1ff Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 15 Nov 2012 09:58:33 +0000 Subject: fix --- src/transport/plugin_transport_udp.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 4333432cc..c4ea37ee2 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); -- cgit v1.2.3