diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-12-10 08:59:55 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-12-10 08:59:55 +0000 |
commit | 8019567e4bf8f9c3dcace8774771e464cdc13c75 (patch) | |
tree | 4cbf99f92bb640aec906f5a4ac439ab2b6384641 /src/testbed/gnunet-service-testbed_connectionpool.c | |
parent | 1c344a7532feeb48eb2e63baf3edabbdba2ed4de (diff) | |
download | gnunet-8019567e4bf8f9c3dcace8774771e464cdc13c75.tar.gz gnunet-8019567e4bf8f9c3dcace8774771e464cdc13c75.zip |
- fix #3187
Diffstat (limited to 'src/testbed/gnunet-service-testbed_connectionpool.c')
-rw-r--r-- | src/testbed/gnunet-service-testbed_connectionpool.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testbed/gnunet-service-testbed_connectionpool.c b/src/testbed/gnunet-service-testbed_connectionpool.c index 986b1ca3b..0df5c300c 100644 --- a/src/testbed/gnunet-service-testbed_connectionpool.c +++ b/src/testbed/gnunet-service-testbed_connectionpool.c | |||
@@ -440,7 +440,7 @@ connection_ready (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
440 | 440 | ||
441 | /** | 441 | /** |
442 | * Function called from peer connect notify callbacks from CORE and TRANSPORT | 442 | * Function called from peer connect notify callbacks from CORE and TRANSPORT |
443 | * connections. This function calls the pendning peer connect notify callbacks | 443 | * connections. This function calls the pending peer connect notify callbacks |
444 | * which are queued in an entry. | 444 | * which are queued in an entry. |
445 | * | 445 | * |
446 | * @param cls the #PooledConnection object | 446 | * @param cls the #PooledConnection object |
@@ -887,8 +887,8 @@ GST_connection_pool_get_handle_done (struct GST_ConnectionPool_GetHandle *gh) | |||
887 | if (!gh->connection_ready_called) | 887 | if (!gh->connection_ready_called) |
888 | { | 888 | { |
889 | GNUNET_CONTAINER_DLL_remove (entry->head_waiting, entry->tail_waiting, gh); | 889 | GNUNET_CONTAINER_DLL_remove (entry->head_waiting, entry->tail_waiting, gh); |
890 | if ((NULL == entry->head_waiting) | 890 | if ( (NULL == search_waiting (entry, entry->head_waiting)) |
891 | && (GNUNET_SCHEDULER_NO_TASK != entry->notify_task)) | 891 | && (GNUNET_SCHEDULER_NO_TASK != entry->notify_task) ) |
892 | { | 892 | { |
893 | GNUNET_SCHEDULER_cancel (entry->notify_task); | 893 | GNUNET_SCHEDULER_cancel (entry->notify_task); |
894 | entry->notify_task = GNUNET_SCHEDULER_NO_TASK; | 894 | entry->notify_task = GNUNET_SCHEDULER_NO_TASK; |