gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r30124 - gnunet/src/testbed
Date: Thu, 10 Oct 2013 22:36:11 +0200

Author: harsha
Date: 2013-10-10 22:36:11 +0200 (Thu, 10 Oct 2013)
New Revision: 30124

Modified:
   gnunet/src/testbed/gnunet-service-testbed_links.c
Log:
- fix testbed crash when controller linking operations fail at controllers


Modified: gnunet/src/testbed/gnunet-service-testbed_links.c
===================================================================
--- gnunet/src/testbed/gnunet-service-testbed_links.c   2013-10-10 18:23:48 UTC 
(rev 30123)
+++ gnunet/src/testbed/gnunet-service-testbed_links.c   2013-10-10 20:36:11 UTC 
(rev 30124)
@@ -723,7 +723,8 @@
     lcfq = lcfq_head;
     GNUNET_assert (lcfq->lcf == lcf);
     GNUNET_SERVER_client_drop (lcf->client);
-    GNUNET_TESTBED_operation_done (lcf->op);
+    if (NULL != lcf->op)
+      GNUNET_TESTBED_operation_done (lcf->op);
     GNUNET_free (lcf);
     GNUNET_CONTAINER_DLL_remove (lcfq_head, lcfq_tail, lcfq);
     GNUNET_free (lcfq);
@@ -745,8 +746,7 @@
 {
   struct LCFContext *lcf;
 
-  /* We currently only get here when working on RegisteredHostContexts and
-     LCFContexts */
+  /* We currently only get here when working on LCFContexts */
   GNUNET_assert (GNUNET_TESTBED_ET_OPERATION_FINISHED == event->type);
   lcf = event->op_cls;
   GNUNET_assert (lcf->op == event->op);




reply via email to

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