[master] 59a2525 Code style OCD

Dridi Boukelmoune dridi at varnish-software.com
Tue Jan 30 13:20:08 UTC 2018


commit 59a2525b70deb514955787f0632ddb93f0455b0f
Author: Dridi Boukelmoune <dridi at varnish-software.com>
Date:   Tue Jan 30 11:07:55 2018 +0100

    Code style OCD

diff --git a/bin/varnishd/cache/cache_backend.c b/bin/varnishd/cache/cache_backend.c
index fd70cb2..4d31680 100644
--- a/bin/varnishd/cache/cache_backend.c
+++ b/bin/varnishd/cache/cache_backend.c
@@ -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);
diff --git a/bin/varnishd/cache/cache_tcp_pool.h b/bin/varnishd/cache/cache_tcp_pool.h
index d9d3c54..f91cac6 100644
--- a/bin/varnishd/cache/cache_tcp_pool.h
+++ b/bin/varnishd/cache/cache_tcp_pool.h
@@ -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 *);


More information about the varnish-commit mailing list