diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-11-15 09:58:33 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-11-15 09:58:33 +0000 |
commit | be439fcd10eb22d3b591c65fe5d79afb481ee1ff (patch) | |
tree | e9aa2682708b360c8f5a246b5079720b63333798 | |
parent | 26451fa929ea559cec04cb9d657ee7ac5691d45c (diff) | |
download | gnunet-be439fcd10eb22d3b591c65fe5d79afb481ee1ff.tar.gz gnunet-be439fcd10eb22d3b591c65fe5d79afb481ee1ff.zip |
fix
-rw-r--r-- | src/transport/plugin_transport_udp.c | 6 |
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); |