diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2011-07-19 08:22:49 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2011-07-19 08:22:49 +0000 |
commit | 8539e7018b4737968f5a5b9fe3d67ca09e0d8f84 (patch) | |
tree | 731d5f1a5c9b03f89e3cf396a99b1d6c5fbae17a /src/topology | |
parent | 55c8106995d209e60395d758b91cad87631913f6 (diff) |
fix
git-svn-id: https://gnunet.org/svn/gnunet@16100 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/topology')
-rw-r--r-- | src/topology/gnunet-daemon-topology.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c index 026297b65a..5b6829375d 100644 --- a/src/topology/gnunet-daemon-topology.c +++ b/src/topology/gnunet-daemon-topology.c @@ -1424,7 +1424,8 @@ run (void *cls, minimum_friend_count, autoconnect ? "autoconnect enabled" : "autoconnect disabled"); #endif - if (friend_count < minimum_friend_count) + if ( (friend_count < minimum_friend_count) && + (blacklist == NULL) ) blacklist = GNUNET_TRANSPORT_blacklist (cfg, &blacklist_check, NULL); transport = GNUNET_TRANSPORT_connect (cfg, |