fix
authorChristian Grothoff <christian@grothoff.org>
Tue, 19 Jul 2011 08:22:49 +0000 (08:22 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 19 Jul 2011 08:22:49 +0000 (08:22 +0000)
src/topology/gnunet-daemon-topology.c

index 026297b65ad6f464d546dc590252fcdc4ba37fba..5b6829375dbb89cff7afcba25df93ceb44dc0c41 100644 (file)
@@ -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,