gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: Decrement statistics count


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: Decrement statistics count for pending checks
Date: Wed, 12 Sep 2018 16:04:05 +0200

This is an automated email from the git hooks/post-receive script.

julius-buenger pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 9637cbb0e Decrement statistics count for pending checks
9637cbb0e is described below

commit 9637cbb0ea6e3aa908245ce9dcfdc23366e8f5dd
Author: Julius Bünger <address@hidden>
AuthorDate: Wed Sep 12 16:02:22 2018 +0200

    Decrement statistics count for pending checks
---
 src/rps/gnunet-service-rps.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index a830bfa29..3e30041e8 100644
--- a/src/rps/gnunet-service-rps.c
+++ b/src/rps/gnunet-service-rps.c
@@ -976,6 +976,10 @@ destroy_peer (struct PeerContext *peer_ctx)
       {
         // TODO this may leak memory
         peer_ctx->liveliness_check_pending = NULL;
+        GNUNET_STATISTICS_update (stats,
+                                  "# pending liveliness checks",
+                                  -1,
+                                  GNUNET_NO);
       }
     remove_pending_message (peer_ctx->pending_messages_head,
                             GNUNET_YES);

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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