diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-10-04 14:02:44 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-10-04 14:02:44 +0000 |
commit | b96afc0513d3d70a50dc2faa21601ce7cefc1d6f (patch) | |
tree | ce31c4054d311d11b7372fdc0024add1b97c436e /src/testbed/test_testbed_api_3peers_3controllers.c | |
parent | 98c7ca502554ae53580d5553070af98c889178fc (diff) | |
download | gnunet-b96afc0513d3d70a50dc2faa21601ce7cefc1d6f.tar.gz gnunet-b96afc0513d3d70a50dc2faa21601ce7cefc1d6f.zip |
added operation closure to GNUNET_TESTBED_controller_link()
Diffstat (limited to 'src/testbed/test_testbed_api_3peers_3controllers.c')
-rw-r--r-- | src/testbed/test_testbed_api_3peers_3controllers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testbed/test_testbed_api_3peers_3controllers.c b/src/testbed/test_testbed_api_3peers_3controllers.c index fd64d987b..0634bf87e 100644 --- a/src/testbed/test_testbed_api_3peers_3controllers.c +++ b/src/testbed/test_testbed_api_3peers_3controllers.c | |||
@@ -509,7 +509,7 @@ controller_cb (void *cls, const struct GNUNET_TESTBED_EventInformation *event) | |||
509 | GNUNET_TESTBED_operation_done (common_operation); | 509 | GNUNET_TESTBED_operation_done (common_operation); |
510 | result = CONTROLLER_CFG_ACQUIRED; | 510 | result = CONTROLLER_CFG_ACQUIRED; |
511 | common_operation = | 511 | common_operation = |
512 | GNUNET_TESTBED_controller_link (controller1, neighbour2, neighbour1, | 512 | GNUNET_TESTBED_controller_link (NULL, controller1, neighbour2, neighbour1, |
513 | cfg2, GNUNET_NO); | 513 | cfg2, GNUNET_NO); |
514 | break; | 514 | break; |
515 | case CONTROLLER_CFG_ACQUIRED: | 515 | case CONTROLLER_CFG_ACQUIRED: |
@@ -534,7 +534,7 @@ controller_cb (void *cls, const struct GNUNET_TESTBED_EventInformation *event) | |||
534 | peer1.operation = NULL; | 534 | peer1.operation = NULL; |
535 | result = PEER1_STARTED; | 535 | result = PEER1_STARTED; |
536 | common_operation = | 536 | common_operation = |
537 | GNUNET_TESTBED_controller_link (controller1, neighbour1, NULL, cfg, | 537 | GNUNET_TESTBED_controller_link (NULL, controller1, neighbour1, NULL, cfg, |
538 | GNUNET_YES); | 538 | GNUNET_YES); |
539 | break; | 539 | break; |
540 | case PEER2_CREATED: | 540 | case PEER2_CREATED: |
@@ -545,7 +545,7 @@ controller_cb (void *cls, const struct GNUNET_TESTBED_EventInformation *event) | |||
545 | result = PEER2_STARTED; | 545 | result = PEER2_STARTED; |
546 | GNUNET_assert (NULL == common_operation); | 546 | GNUNET_assert (NULL == common_operation); |
547 | common_operation = | 547 | common_operation = |
548 | GNUNET_TESTBED_controller_link (controller1, neighbour2, NULL, cfg, | 548 | GNUNET_TESTBED_controller_link (NULL, controller1, neighbour2, NULL, cfg, |
549 | GNUNET_YES); | 549 | GNUNET_YES); |
550 | GNUNET_assert (NULL != common_operation); | 550 | GNUNET_assert (NULL != common_operation); |
551 | break; | 551 | break; |