gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r13335 - gnunet/src/topology


From: gnunet
Subject: [GNUnet-SVN] r13335 - gnunet/src/topology
Date: Thu, 21 Oct 2010 00:09:43 +0200

Author: amatus
Date: 2010-10-21 00:09:43 +0200 (Thu, 21 Oct 2010)
New Revision: 13335

Modified:
   gnunet/src/topology/gnunet-daemon-topology.c
Log:
Fix "# friends connected" counter.


Modified: gnunet/src/topology/gnunet-daemon-topology.c
===================================================================
--- gnunet/src/topology/gnunet-daemon-topology.c        2010-10-20 22:03:24 UTC 
(rev 13334)
+++ gnunet/src/topology/gnunet-daemon-topology.c        2010-10-20 22:09:43 UTC 
(rev 13335)
@@ -652,7 +652,6 @@
                                                         next_want,
                                                         
&hello_advertising_ready,
                                                         pl);
-      return;
     }
 }
 
@@ -746,7 +745,7 @@
       friend_count++;
       GNUNET_STATISTICS_set (stats,
                             gettext_noop ("# friends connected"),
-                            connection_count,
+                            friend_count,
                             GNUNET_NO);
     }
   reschedule_hellos (NULL, &peer->hashPubKey, pos);
@@ -813,7 +812,7 @@
       friend_count--; 
       GNUNET_STATISTICS_set (stats,
                             gettext_noop ("# friends connected"),
-                            connection_count,
+                            friend_count,
                             GNUNET_NO);
     }
   if ( (connection_count < target_connection_count) ||




reply via email to

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