gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r17859 - gnunet/src/transport
Date: Sun, 30 Oct 2011 19:07:17 +0100

Author: grothoff
Date: 2011-10-30 19:07:17 +0100 (Sun, 30 Oct 2011)
New Revision: 17859

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 2011-10-30 14:48:23 UTC (rev 
17858)
+++ gnunet/src/transport/plugin_transport_udp.c 2011-10-30 18:07:17 UTC (rev 
17859)
@@ -1424,7 +1424,8 @@
   hello = &message[1];
   plugin->env->receive (plugin->env->cls, &msg->sender, hello, NULL, 0, NULL, 
(const char *) &mc->addr, sizeof (mc->addr));
 
-  GNUNET_STATISTICS_update(plugin->env->cfg, _("# HELLO beacons received via 
udp"), 1, GNUNET_NO);
+  GNUNET_STATISTICS_update(plugin->env->stats, 
+                          _("# HELLO beacons received via udp"), 1, GNUNET_NO);
   GNUNET_free (mc);
 }
 
@@ -2127,7 +2128,8 @@
     {
       plugin->broadcast = GNUNET_YES;
       plugin->broadcast_mst = GNUNET_SERVER_mst_create (udp_broadcast_mst_cb, 
plugin);
-      GNUNET_STATISTICS_update(plugin->env->cfg, _("# HELLO beacons received 
via udp"), 1, GNUNET_NO);
+      GNUNET_STATISTICS_update(plugin->env->stats,
+                              _("# HELLO beacons received via udp"), 1, 
GNUNET_NO);
       plugin->select_broadcast_task =
         GNUNET_SCHEDULER_add_select (GNUNET_SCHEDULER_PRIORITY_DEFAULT,
                                      GNUNET_SCHEDULER_NO_TASK,




reply via email to

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