[master] 96fe701 Style nits

Poul-Henning Kamp phk at varnish-cache.org
Thu Oct 3 09:08:51 CEST 2013


commit 96fe701c0354ebe37920144683c8067e2b60a8b3
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Oct 3 07:08:42 2013 +0000

    Style nits

diff --git a/bin/varnishd/mgt/mgt_cli.c b/bin/varnishd/mgt/mgt_cli.c
index 9ee037f..3e43709 100644
--- a/bin/varnishd/mgt/mgt_cli.c
+++ b/bin/varnishd/mgt/mgt_cli.c
@@ -550,7 +550,7 @@ mgt_cli_telnet(const char *T_arg)
 		tn->ev->fd = sock;
 		tn->ev->fd_flags = POLLIN;
 		tn->ev->callback = telnet_accept;
-		tn->ev->priv = tn;;
+		tn->ev->priv = tn;
 		AZ(vev_add(mgt_evb, tn->ev));
 		free(ta[i]);
 		ta[i] = NULL;
diff --git a/bin/varnishd/storage/storage_persistent.c b/bin/varnishd/storage/storage_persistent.c
index 36c20ab..f54368d 100644
--- a/bin/varnishd/storage/storage_persistent.c
+++ b/bin/varnishd/storage/storage_persistent.c
@@ -476,7 +476,7 @@ smp_allocx(struct stevedore *st, size_t min_size, size_t max_size,
 			/* Render this smp_object mostly harmless */
 			(*so)->ttl = 0.;
 			(*so)->ban = 0.;
-			(*so)->ptr = 0;;
+			(*so)->ptr = 0;
 			sg->objs = *so;
 			*idx = ++sg->p.lobjlist;
 		}
diff --git a/lib/libvcc/vcc_parse.c b/lib/libvcc/vcc_parse.c
index 9a7c56a..63204a7 100644
--- a/lib/libvcc/vcc_parse.c
+++ b/lib/libvcc/vcc_parse.c
@@ -312,8 +312,8 @@ vcc_ParseVcl(struct vcc *tl)
  *	ACL definitions
  *	Function definitions
  *	Backend definitions
- * 	VMOD import directives
- * 	VCL version declarations
+ *	VMOD import directives
+ *	VCL version declarations
  *	End of input
  */
 



More information about the varnish-commit mailing list