[4.0] 3ffbaed White-space copy&paste fixups

Lasse Karstensen lkarsten at varnish-software.com
Mon Sep 22 16:38:22 CEST 2014


commit 3ffbaed8203327eea93023e5eb48da46bd9ad174
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Jul 24 08:03:00 2014 +0000

    White-space copy&paste fixups

diff --git a/lib/libvarnish/vtcp.c b/lib/libvarnish/vtcp.c
index 2109f20..26191fe 100644
--- a/lib/libvarnish/vtcp.c
+++ b/lib/libvarnish/vtcp.c
@@ -324,5 +324,5 @@ VTCP_check_hup(int sock)
 
 	if (poll(&pfd, 1, 0) == 1 && pfd.revents & POLLHUP)
 		return (1);
-        return (0);
+	return (0);
 }
diff --git a/lib/libvcc/vcc_expr.c b/lib/libvcc/vcc_expr.c
index 0d39073..c2f9818 100644
--- a/lib/libvcc/vcc_expr.c
+++ b/lib/libvcc/vcc_expr.c
@@ -1025,7 +1025,7 @@ vcc_expr_cmp(struct vcc *tl, struct expr **e, enum var_type fmt)
 	}
 	if ((*e)->fmt == STRING &&
 	    (tl->t->tok == '~' || tl->t->tok == T_NOMATCH)) {
-	        not = tl->t->tok == '~' ? "" : "!";
+		not = tl->t->tok == '~' ? "" : "!";
 		vcc_NextToken(tl);
 		ExpectErr(tl, CSTR);
 		re = vcc_regexp(tl);
@@ -1037,7 +1037,7 @@ vcc_expr_cmp(struct vcc *tl, struct expr **e, enum var_type fmt)
 	}
 	if ((*e)->fmt == IP &&
 	    (tl->t->tok == '~' || tl->t->tok == T_NOMATCH)) {
-	        not = tl->t->tok == '~' ? "" : "!";
+		not = tl->t->tok == '~' ? "" : "!";
 		vcc_NextToken(tl);
 		ExpectErr(tl, ID);
 		vcc_AddRef(tl, tl->t, SYM_ACL);
diff --git a/lib/libvmod_debug/vmod_debug.c b/lib/libvmod_debug/vmod_debug.c
index b2f3313..744b10d 100644
--- a/lib/libvmod_debug/vmod_debug.c
+++ b/lib/libvmod_debug/vmod_debug.c
@@ -93,7 +93,7 @@ vmod_test_priv_vcl(const struct vrt_ctx *ctx, struct vmod_priv *priv)
 {
 
 	CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
-        assert(!strcmp(priv->priv, "FOO"));
+	assert(!strcmp(priv->priv, "FOO"));
 }
 
 VCL_BLOB



More information about the varnish-commit mailing list