[master] d0a66fa48 Whitespace OCD

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Jun 17 07:18:09 UTC 2019


commit d0a66fa48a209955dcb3dd6bd0eb613b48f15405
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Jun 17 09:12:48 2019 +0200

    Whitespace OCD

diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index c01de9387..f9cab4055 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -712,7 +712,7 @@ vbf_stp_error(struct worker *wrk, struct busyobj *bo)
 	AN(bo->fetch_objcore->flags & OC_F_BUSY);
 	assert(bo->director_state == DIR_S_NULL);
 
-	if (wrk->handling !=  VCL_RET_ERROR)
+	if (wrk->handling != VCL_RET_ERROR)
 		wrk->stats->fetch_failed++;
 
 	now = W_TIM_real(wrk);
@@ -728,9 +728,11 @@ vbf_stp_error(struct worker *wrk, struct busyobj *bo)
 
 	HTTP_Setup(bo->beresp, bo->ws, bo->vsl, SLT_BerespMethod);
 	if (bo->err_code > 0)
-		http_PutResponse(bo->beresp, "HTTP/1.1", bo->err_code, bo->err_reason);
+		http_PutResponse(bo->beresp, "HTTP/1.1", bo->err_code,
+		    bo->err_reason);
 	else
-		http_PutResponse(bo->beresp, "HTTP/1.1", 503, "Backend fetch failed");
+		http_PutResponse(bo->beresp, "HTTP/1.1", 503,
+		    "Backend fetch failed");
 
 	http_TimeHeader(bo->beresp, "Date: ", now);
 	http_SetHeader(bo->beresp, "Server: Varnish");


More information about the varnish-commit mailing list