fix
authorChristian Grothoff <christian@grothoff.org>
Tue, 3 Nov 2009 21:36:45 +0000 (21:36 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 3 Nov 2009 21:36:45 +0000 (21:36 +0000)
src/topology/gnunet-daemon-topology.c

index 2f58ac126cc0e4199fca0b8361c5d030b3b2ad75..b156ddfafc7cf2ebb7abd7ca9b5693a824c44589 100644 (file)
@@ -763,7 +763,7 @@ find_more_peers (void *cls,
                 const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
   discard_old_blacklist_entries ();
-  if (target_connection_count <= connection_count)
+  if (connection_count <= target_connection_count)
     {
       schedule_peer_search ();
       return;