[4.1] e79fce2 White-space OCD

Poul-Henning Kamp phk at FreeBSD.org
Tue Sep 8 11:52:24 CEST 2015


commit e79fce21c8d175935f103750a17095424e831b02
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Sep 7 08:59:51 2015 +0000

    White-space OCD

diff --git a/bin/varnishd/http1/cache_http1_deliver.c b/bin/varnishd/http1/cache_http1_deliver.c
index 5d4e4f2..21fc961 100644
--- a/bin/varnishd/http1/cache_http1_deliver.c
+++ b/bin/varnishd/http1/cache_http1_deliver.c
@@ -61,10 +61,10 @@ v1d_bytes(struct req *req, enum vdp_action act, void **priv,
 static void
 v1d_error(struct req *req, const char *msg)
 {
-        static const char r_500[] =
-                "HTTP/1.1 500 Internal Server Error\r\n"
-                "Server: Varnish\r\n"
-                "Connection: close\r\n\r\n";
+	static const char r_500[] =
+	    "HTTP/1.1 500 Internal Server Error\r\n"
+	    "Server: Varnish\r\n"
+	    "Connection: close\r\n\r\n";
 
 	VSLb(req->vsl, SLT_Error, "%s", msg);
 	VSLb(req->vsl, SLT_RespProtocol, "HTTP/1.1");
@@ -122,7 +122,7 @@ V1D_Deliver(struct req *req, struct busyobj *bo, int wantbody)
 
 	V1L_Reserve(req->wrk, req->ws, &req->sp->fd, req->vsl, req->t_prev);
 
-        if (WS_Overflowed(req->ws)) {
+	if (WS_Overflowed(req->ws)) {
 		v1d_error(req, "workspace_client overflow");
 		return;
 	}



More information about the varnish-commit mailing list