gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r35417 - gnunet/src/revocation


From: gnunet
Subject: [GNUnet-SVN] r35417 - gnunet/src/revocation
Date: Sat, 21 Mar 2015 00:30:26 +0100

Author: grothoff
Date: 2015-03-21 00:30:26 +0100 (Sat, 21 Mar 2015)
New Revision: 35417

Modified:
   gnunet/src/revocation/gnunet-service-revocation.c
Log:
-fix counting

Modified: gnunet/src/revocation/gnunet-service-revocation.c
===================================================================
--- gnunet/src/revocation/gnunet-service-revocation.c   2015-03-20 23:29:14 UTC 
(rev 35416)
+++ gnunet/src/revocation/gnunet-service-revocation.c   2015-03-20 23:30:26 UTC 
(rev 35417)
@@ -523,6 +523,10 @@
   GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               "Peer `%s' connected to us\n",
               GNUNET_i2s (peer));
+  GNUNET_STATISTICS_update (stats,
+                            "# peers connected",
+                            1,
+                            GNUNET_NO);
   peer_entry = GNUNET_CONTAINER_multipeermap_get (peers,
                                                   peer);
   if (NULL != peer_entry)
@@ -558,10 +562,6 @@
                                     &transmit_task_cb,
                                     peer_entry);
   }
-  GNUNET_STATISTICS_update (stats,
-                            "# peers connected",
-                            1,
-                            GNUNET_NO);
 }
 
 




reply via email to

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