gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r24974 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r24974 - gnunet/src/transport
Date: Thu, 15 Nov 2012 10:58:34 +0100

Author: wachs
Date: 2012-11-15 10:58:33 +0100 (Thu, 15 Nov 2012)
New Revision: 24974

Modified:
   gnunet/src/transport/plugin_transport_udp.c
Log:
fix

Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2012-11-15 09:43:07 UTC (rev 
24973)
+++ gnunet/src/transport/plugin_transport_udp.c 2012-11-15 09:58:33 UTC (rev 
24974)
@@ -985,14 +985,10 @@
   {
     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);
   if (udpw->session->addrlen == sizeof (struct sockaddr_in))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]