Commit 59a2525b authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Code style OCD

parent 2c8c2d98
......@@ -179,7 +179,7 @@ vbe_dir_finish(const struct director *d, struct worker *wrk,
bo->htc->priv = NULL;
if (vtp->state != VTP_STATE_USED)
assert(bo->htc->doclose == SC_TX_PIPE ||
bo->htc->doclose == SC_RX_TIMEOUT);
bo->htc->doclose == SC_RX_TIMEOUT);
if (bo->htc->doclose != SC_NULL || bp->proxy_header != 0) {
VSLb(bo->vsl, SLT_BackendClose, "%d %s", vtp->fd,
bp->director->display_name);
......
......@@ -53,10 +53,12 @@ struct vtp {
* Prototypes
*/
struct tcp_pool *VTP_Ref(const struct suckaddr *ip4, const struct suckaddr *ip6, const void *id);
struct tcp_pool *VTP_Ref(const struct suckaddr *ip4, const struct suckaddr *ip6,
const void *id);
/*
* Get a reference to a TCP pool. Either ip4 or ip6 arg must be non-NULL.
* If recycling is to be used, the id pointer distinguishes the pool per protocol.
* Get a reference to a TCP pool. Either ip4 or ip6 arg must be
* non-NULL. If recycling is to be used, the id pointer distinguishes
* the pool per protocol.
*/
void VTP_AddRef(struct tcp_pool *);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment