aboutsummaryrefslogtreecommitdiff
path: root/src/topology
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-09-29 22:22:23 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-09-29 22:22:23 +0000
commit1f77ba99598f246cf6b4760760f51238df890824 (patch)
tree245f842b8c03e50c39c7ede957df9fdd3d245a1c /src/topology
parentb2eda599809d24f7493ee36876235d469f2a4426 (diff)
-dce
git-svn-id: https://gnunet.org/svn/gnunet@24133 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/topology')
-rw-r--r--src/topology/test_gnunet_daemon_topology.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/topology/test_gnunet_daemon_topology.c b/src/topology/test_gnunet_daemon_topology.c
index e94123fe87..be2875fe5f 100644
--- a/src/topology/test_gnunet_daemon_topology.c
+++ b/src/topology/test_gnunet_daemon_topology.c
@@ -37,16 +37,12 @@ static int ok;
static unsigned int connect_left;
-static struct GNUNET_TESTBED_Peer *daemons[NUM_PEERS];
-
static void
notify_connect_complete (void *cls,
struct GNUNET_TESTBED_Operation *op,
const char *emsg)
{
- unsigned int i;
-
if (NULL != emsg)
{
FPRINTF (stderr, "Failed to connect two peers: %s\n", emsg);
@@ -54,6 +50,7 @@ notify_connect_complete (void *cls,
ok = 1;
return;
}
+ GNUNET_TESTBED_operation_done (op);
connect_left--;
if (0 == connect_left)
{