gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: [topology] Fix blacklist co


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: [topology] Fix blacklist condition
Date: Sat, 24 Jun 2017 06:20:26 +0200

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

david-barksdale pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 9fd78c58c [topology] Fix blacklist condition
9fd78c58c is described below

commit 9fd78c58ca973d35764d4d4e6a75aebdeb5ce77d
Author: David Barksdale <address@hidden>
AuthorDate: Fri Jun 23 23:18:59 2017 -0500

    [topology] Fix blacklist condition
    
    This fixes issue #5086.
---
 src/topology/gnunet-daemon-topology.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/topology/gnunet-daemon-topology.c 
b/src/topology/gnunet-daemon-topology.c
index 537ffe059..4415d0a24 100644
--- a/src/topology/gnunet-daemon-topology.c
+++ b/src/topology/gnunet-daemon-topology.c
@@ -1183,8 +1183,8 @@ run (void *cls,
               "Topology would like %u connections with at least %u friends\n",
               target_connection_count,
               minimum_friend_count);
-  if ( (friend_count < minimum_friend_count) &&
-       (NULL == blacklist))
+  if ( (GNUNET_YES == friends_only) ||
+       (minimum_friend_count > 0))
     blacklist = GNUNET_TRANSPORT_blacklist (cfg,
                                             &blacklist_check,
                                             NULL);

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



reply via email to

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