gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r24952 - gnunet/src/testbed
Date: Wed, 14 Nov 2012 14:08:31 +0100

Author: harsha
Date: 2012-11-14 14:08:31 +0100 (Wed, 14 Nov 2012)
New Revision: 24952

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

Modified: gnunet/src/testbed/test_testbed_api_3peers_3controllers.c
===================================================================
--- gnunet/src/testbed/test_testbed_api_3peers_3controllers.c   2012-11-14 
13:05:28 UTC (rev 24951)
+++ gnunet/src/testbed/test_testbed_api_3peers_3controllers.c   2012-11-14 
13:08:31 UTC (rev 24952)
@@ -471,19 +471,6 @@
 
 
 /**
- * Callback to signal successfull startup of the controller process
- *
- * @param cls the closure from GNUNET_TESTBED_controller_start()
- * @param cfg the configuration with which the controller has been started;
- *          NULL if status is not GNUNET_OK
- * @param status GNUNET_OK if the startup is successfull; GNUNET_SYSERR if not,
- *          GNUNET_TESTBED_controller_stop() shouldn't be called in this case
- */
-static void
-status_cb (void *cls, const struct GNUNET_CONFIGURATION_Handle *config, int 
status);
-
-
-/**
  * Signature of the event handler function called by the
  * respective event controller.
  *
@@ -814,6 +801,7 @@
   if (GNUNET_OK != status)
   {
     GNUNET_break (0);
+    cp1 = NULL;
     abort_test();
     return;
   }




reply via email to

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