gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r30442 - gnunet/src/testbed
Date: Mon, 28 Oct 2013 16:55:43 +0100

Author: harsha
Date: 2013-10-28 16:55:43 +0100 (Mon, 28 Oct 2013)
New Revision: 30442

Modified:
   gnunet/src/testbed/gnunet-service-testbed_connectionpool.c
Log:
- fixes


Modified: gnunet/src/testbed/gnunet-service-testbed_connectionpool.c
===================================================================
--- gnunet/src/testbed/gnunet-service-testbed_connectionpool.c  2013-10-28 
15:40:59 UTC (rev 30441)
+++ gnunet/src/testbed/gnunet-service-testbed_connectionpool.c  2013-10-28 
15:55:43 UTC (rev 30442)
@@ -885,7 +885,15 @@
              gh,
              gh->service, entry->index);
   if (!gh->connection_ready_called)
+  {
     GNUNET_CONTAINER_DLL_remove (entry->head_waiting, entry->tail_waiting, gh);
+    if ((NULL == entry->head_waiting)
+        && (GNUNET_SCHEDULER_NO_TASK != entry->notify_task))
+    {
+      GNUNET_SCHEDULER_cancel (entry->notify_task);
+      entry->notify_task = GNUNET_SCHEDULER_NO_TASK;
+    }
+  }
   if (gh->notify_waiting)
   { 
     GNUNET_CONTAINER_DLL_remove (entry->head_notify, entry->tail_notify, gh);




reply via email to

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