gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r31248 - gnunet/src/testbed
Date: Tue, 10 Dec 2013 09:59:55 +0100

Author: harsha
Date: 2013-12-10 09:59:55 +0100 (Tue, 10 Dec 2013)
New Revision: 31248

Modified:
   gnunet/src/testbed/gnunet-service-testbed_connectionpool.c
Log:
- fix #3187


Modified: gnunet/src/testbed/gnunet-service-testbed_connectionpool.c
===================================================================
--- gnunet/src/testbed/gnunet-service-testbed_connectionpool.c  2013-12-10 
08:56:54 UTC (rev 31247)
+++ gnunet/src/testbed/gnunet-service-testbed_connectionpool.c  2013-12-10 
08:59:55 UTC (rev 31248)
@@ -440,7 +440,7 @@
 
 /**
  * Function called from peer connect notify callbacks from CORE and TRANSPORT
- * connections. This function calls the pendning peer connect notify callbacks
+ * connections. This function calls the pending peer connect notify callbacks
  * which are queued in an entry.
  *
  * @param cls the #PooledConnection object
@@ -887,8 +887,8 @@
   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))
+    if ( (NULL == search_waiting (entry, entry->head_waiting))
+         && (GNUNET_SCHEDULER_NO_TASK != entry->notify_task) )
     {
       GNUNET_SCHEDULER_cancel (entry->notify_task);
       entry->notify_task = GNUNET_SCHEDULER_NO_TASK;




reply via email to

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