[master] 140ae48 Whitespace

Federico G. Schwindt fgsch at lodoss.net
Sat Feb 17 12:13:06 UTC 2018


commit 140ae488266f14df9103a66e72a07be528324a22
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Sat Feb 17 00:33:00 2018 +0000

    Whitespace

diff --git a/bin/varnishd/http2/cache_http2_proto.c b/bin/varnishd/http2/cache_http2_proto.c
index 6801e92..72d0342 100644
--- a/bin/varnishd/http2/cache_http2_proto.c
+++ b/bin/varnishd/http2/cache_http2_proto.c
@@ -540,7 +540,7 @@ h2_end_headers(struct worker *wrk, struct h2_sess *h2,
 		VSLb(h2->vsl, SLT_Debug, "Missing :method");
 		return (H2SE_PROTOCOL_ERROR); //rfc7540,l,3087,3090
 	}
-	if(req->http->hd[HTTP_HDR_URL].b == NULL) {
+	if (req->http->hd[HTTP_HDR_URL].b == NULL) {
 		VSLb(h2->vsl, SLT_Debug, "Missing :path");
 		return (H2SE_PROTOCOL_ERROR); //rfc7540,l,3087,3090
 	}
diff --git a/bin/varnishtest/vtc_term.c b/bin/varnishtest/vtc_term.c
index be554dc..ee9426d 100644
--- a/bin/varnishtest/vtc_term.c
+++ b/bin/varnishtest/vtc_term.c
@@ -70,7 +70,7 @@ term_scroll(const struct term *tp)
 	char *l;
 
 	l = tp->vram[0];
-	for(i = 0; i < tp->nlin -1; i++)
+	for (i = 0; i < tp->nlin -1; i++)
 		tp->vram[i] = tp->vram[i + 1];
 	tp->vram[i] = l;
 	memset(l, ' ', tp->ncol);
@@ -90,7 +90,7 @@ term_escape(struct term *tp, int c, int n)
 {
 	int i;
 
-	switch(c) {
+	switch (c) {
 	case 'A':
 		// CUU - Cursor up
 		if (tp->arg[0] == -1) tp->arg[0] = 1;
@@ -142,7 +142,7 @@ term_escape(struct term *tp, int c, int n)
 		break;
 	case 'J':
 		// ED - Erase in Display (0=below, 1=above, 2=all)
-		switch(tp->arg[0]) {
+		switch (tp->arg[0]) {
 		case 2:
 			term_clear(tp->vram, tp->nlin, tp->ncol);
 			break;
@@ -195,7 +195,7 @@ term_char(struct term *tp, char c)
 			tp->col--;
 		break;
 	case '\t':
-		while(++tp->col % 8)
+		while (++tp->col % 8)
 			continue;
 		if (tp->col >= tp->ncol) {
 			tp->col = 0;
diff --git a/lib/libvcc/vcc_xref.c b/lib/libvcc/vcc_xref.c
index 775becc..74f7aad 100644
--- a/lib/libvcc/vcc_xref.c
+++ b/lib/libvcc/vcc_xref.c
@@ -198,7 +198,7 @@ vcc_checkaction1(struct vcc *tl, const struct symbol *sym)
 	p = sym->proc;
 	AN(p);
 	AN(p->name);
-	if(p->method == NULL)
+	if (p->method == NULL)
 		return;
 	if (vcc_CheckActionRecurse(tl, p, p->method->ret_bitmap)) {
 		VSB_printf(tl->sb,


More information about the varnish-commit mailing list