gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r25201 - gnunet/src/testbed


From: gnunet
Subject: [GNUnet-SVN] r25201 - gnunet/src/testbed
Date: Mon, 3 Dec 2012 17:59:40 +0100

Author: harsha
Date: 2012-12-03 17:59:40 +0100 (Mon, 03 Dec 2012)
New Revision: 25201

Modified:
   gnunet/src/testbed/test_testbed_api_3peers_3controllers.c
Log:
- fix

Modified: gnunet/src/testbed/test_testbed_api_3peers_3controllers.c
===================================================================
--- gnunet/src/testbed/test_testbed_api_3peers_3controllers.c   2012-12-03 
16:53:25 UTC (rev 25200)
+++ gnunet/src/testbed/test_testbed_api_3peers_3controllers.c   2012-12-03 
16:59:40 UTC (rev 25201)
@@ -874,6 +874,13 @@
 host_habitable_cb (void *cls, const struct GNUNET_TESTBED_Host *_host, int 
status)
 {
   hc_handle = NULL;
+  if (GNUNET_NO == status)
+  {
+    LOG (GNUNET_ERROR_TYPE_ERROR, "Cannot start testbed on localhost\n");
+    GNUNET_SCHEDULER_cancel (abort_task);
+    abort_task = GNUNET_SCHEDULER_add_now (&do_abort, NULL);
+    return;
+  }
   cp1 = GNUNET_TESTBED_controller_start ("127.0.0.1", host, cfg, status_cb,
                                          NULL);
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]