fix
authorChristian Grothoff <christian@grothoff.org>
Tue, 13 Sep 2011 13:49:51 +0000 (13:49 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 13 Sep 2011 13:49:51 +0000 (13:49 +0000)
src/topology/test_gnunet_daemon_topology.c

index 7f4098c17f52ec026976ca1b6e6698589b9fb1d7..6d3645f0176c8f7d28b69f99bec96995e054ffb0 100644 (file)
@@ -151,7 +151,7 @@ my_cb (void *cls, const struct GNUNET_PeerIdentity *id,
   {
     /* close circle */
     cc[NUM_PEERS-1] = GNUNET_TESTING_daemons_connect (d, first, TIMEOUT, CONNECT_ATTEMPTS,
-                                                     GNUNET_YES, &notify_connect_complete, &cc[peers_left]);
+                                                     GNUNET_YES, &notify_connect_complete, &cc[NUM_PEERS-1]);
   }
 }