aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 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)
985 { 985 {
986 GNUNET_STATISTICS_update (plugin->env->stats, 986 GNUNET_STATISTICS_update (plugin->env->stats,
987 "# UDP, total, bytes in buffers", 987 "# UDP, total, bytes in buffers",
988 udpw->msg_size, GNUNET_NO); 988 -udpw->msg_size, GNUNET_NO);
989 plugin->bytes_in_buffer -= udpw->msg_size; 989 plugin->bytes_in_buffer -= udpw->msg_size;
990 } 990 }
991
992 GNUNET_STATISTICS_update (plugin->env->stats,
993 "# UDP, total, bytes in buffers",
994 -udpw->msg_size, GNUNET_NO);
995 GNUNET_STATISTICS_update (plugin->env->stats, 991 GNUNET_STATISTICS_update (plugin->env->stats,
996 "# UDP, total, msgs in buffers", 992 "# UDP, total, msgs in buffers",
997 -1, GNUNET_NO); 993 -1, GNUNET_NO);