mirror of https://github.com/ipxe/ipxe.git
[pool] Fix check for reopenable pooled connections
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/52/head
parent
0eea8b5c3b
commit
4afb758423
|
@ -112,7 +112,7 @@ pool_is_reopenable ( struct pooled_connection *pool ) {
|
||||||
/* A connection is reopenable if it has been recycled but is
|
/* A connection is reopenable if it has been recycled but is
|
||||||
* not yet known to be alive.
|
* not yet known to be alive.
|
||||||
*/
|
*/
|
||||||
return ( ( pool->flags & POOL_RECYCLED ) &
|
return ( ( pool->flags & POOL_RECYCLED ) &&
|
||||||
( ! ( pool->flags & POOL_ALIVE ) ) );
|
( ! ( pool->flags & POOL_ALIVE ) ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue