david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[pool] Fix check for reopenable pooled connections

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Suresh Sundriyal 2016-04-12 14:18:17 +01:00 committed by Michael Brown
parent 0eea8b5c3b
commit 4afb758423
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ pool_is_reopenable ( struct pooled_connection *pool ) {
/* A connection is reopenable if it has been recycled but is
* not yet known to be alive.
*/
return ( ( pool->flags & POOL_RECYCLED ) &
return ( ( pool->flags & POOL_RECYCLED ) &&
( ! ( pool->flags & POOL_ALIVE ) ) );
}