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, ...@@ -179,7 +179,7 @@ vbe_dir_finish(const struct director *d, struct worker *wrk,
bo->htc->priv = NULL; bo->htc->priv = NULL;
if (vtp->state != VTP_STATE_USED) if (vtp->state != VTP_STATE_USED)
assert(bo->htc->doclose == SC_TX_PIPE || 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) { if (bo->htc->doclose != SC_NULL || bp->proxy_header != 0) {
VSLb(bo->vsl, SLT_BackendClose, "%d %s", vtp->fd, VSLb(bo->vsl, SLT_BackendClose, "%d %s", vtp->fd,
bp->director->display_name); bp->director->display_name);
......
...@@ -53,10 +53,12 @@ struct vtp { ...@@ -53,10 +53,12 @@ struct vtp {
* Prototypes * 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. * Get a reference to a TCP pool. Either ip4 or ip6 arg must be
* If recycling is to be used, the id pointer distinguishes the pool per protocol. * non-NULL. If recycling is to be used, the id pointer distinguishes
* the pool per protocol.
*/ */
void VTP_AddRef(struct tcp_pool *); 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