aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-11-14 13:08:31 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-11-14 13:08:31 +0000
commita6991d97fc390790ba69a914a2f5ad35ae2c7bab (patch)
treedf47ad1db04013b1ebd5d9a8b1d2ab6b36b20c85
parentc4907c3ed9b170a97b7c1498a70546a85f77aab1 (diff)
downloadgnunet-a6991d97fc390790ba69a914a2f5ad35ae2c7bab.tar.gz
gnunet-a6991d97fc390790ba69a914a2f5ad35ae2c7bab.zip
-fix crashing test
-rw-r--r--src/testbed/test_testbed_api_3peers_3controllers.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/testbed/test_testbed_api_3peers_3controllers.c b/src/testbed/test_testbed_api_3peers_3controllers.c
index 2d38b8432..48c212401 100644
--- a/src/testbed/test_testbed_api_3peers_3controllers.c
+++ b/src/testbed/test_testbed_api_3peers_3controllers.c
@@ -471,19 +471,6 @@ peer_create_cb (void *cls, struct GNUNET_TESTBED_Peer *peer, const char *emsg)
471 471
472 472
473/** 473/**
474 * Callback to signal successfull startup of the controller process
475 *
476 * @param cls the closure from GNUNET_TESTBED_controller_start()
477 * @param cfg the configuration with which the controller has been started;
478 * NULL if status is not GNUNET_OK
479 * @param status GNUNET_OK if the startup is successfull; GNUNET_SYSERR if not,
480 * GNUNET_TESTBED_controller_stop() shouldn't be called in this case
481 */
482static void
483status_cb (void *cls, const struct GNUNET_CONFIGURATION_Handle *config, int status);
484
485
486/**
487 * Signature of the event handler function called by the 474 * Signature of the event handler function called by the
488 * respective event controller. 475 * respective event controller.
489 * 476 *
@@ -814,6 +801,7 @@ status_cb (void *cls, const struct GNUNET_CONFIGURATION_Handle *config, int stat
814 if (GNUNET_OK != status) 801 if (GNUNET_OK != status)
815 { 802 {
816 GNUNET_break (0); 803 GNUNET_break (0);
804 cp1 = NULL;
817 abort_test(); 805 abort_test();
818 return; 806 return;
819 } 807 }