r5671 - in trunk: varnish-cache/bin/varnishd varnish-cache/lib/libvarnish varnish-cache/lib/libvcl varnish-tools/perl/Varnish-API

phk at varnish-cache.org phk at varnish-cache.org
Fri Dec 31 13:46:14 CET 2010


Author: phk
Date: 2010-12-31 13:46:11 +0100 (Fri, 31 Dec 2010)
New Revision: 5671

Modified:
   trunk/varnish-cache/bin/varnishd/cache_http.c
   trunk/varnish-cache/bin/varnishd/rfc2616.c
   trunk/varnish-cache/lib/libvarnish/cli_serve.c
   trunk/varnish-cache/lib/libvcl/vcc_expr.c
   trunk/varnish-cache/lib/libvcl/vcc_storage.c
   trunk/varnish-tools/perl/Varnish-API/ppport.h
Log:
White space fixes



Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c	2010-12-31 12:43:03 UTC (rev 5670)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c	2010-12-31 12:46:11 UTC (rev 5671)
@@ -348,20 +348,20 @@
 	if (!i)
 		return (0.);
 
-	if (h == NULL) 
+	if (h == NULL)
 		return (1.);
 	/* Skip whitespace, looking for '=' */
 	while (*h && vct_issp(*h))
 		h++;
-	if (*h++ != ';') 
+	if (*h++ != ';')
 		return (1.);
 	while (*h && vct_issp(*h))
 		h++;
-	if (*h++ != 'q') 
+	if (*h++ != 'q')
 		return (1.);
 	while (*h && vct_issp(*h))
 		h++;
-	if (*h++ != '=') 
+	if (*h++ != '=')
 		return (1.);
 	while (*h && vct_issp(*h))
 		h++;

Modified: trunk/varnish-cache/bin/varnishd/rfc2616.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/rfc2616.c	2010-12-31 12:43:03 UTC (rev 5670)
+++ trunk/varnish-cache/bin/varnishd/rfc2616.c	2010-12-31 12:46:11 UTC (rev 5671)
@@ -278,7 +278,7 @@
 		return (1);
 
 	/*
- 	 * "gzip" is the real thing, but the 'q' value must be nonzero.
+	 * "gzip" is the real thing, but the 'q' value must be nonzero.
 	 * We do not care a hoot if the client prefers some other
 	 * compression more than gzip: Varnish only does gzip.
 	 */

Modified: trunk/varnish-cache/lib/libvarnish/cli_serve.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/cli_serve.c	2010-12-31 12:43:03 UTC (rev 5670)
+++ trunk/varnish-cache/lib/libvarnish/cli_serve.c	2010-12-31 12:46:11 UTC (rev 5671)
@@ -331,7 +331,7 @@
 		AN(av);
 		if (av[0] != NULL) {
 			i = cls_vlu2(priv, av);
-			FreeArgv(av);	
+			FreeArgv(av);
 			free(cli->cmd);
 			cli->cmd = NULL;
 			return (i);
@@ -340,7 +340,7 @@
 			continue;
 		if (i < 3 || cli->auth == 0 || strcmp(av[i - 2], "<<")) {
 			i = cls_vlu2(priv, av);
-			FreeArgv(av);	
+			FreeArgv(av);
 			free(cli->cmd);
 			cli->cmd = NULL;
 			return (i);
@@ -368,7 +368,7 @@
 		cfd->argv[cfd->last_idx] = vsb_data(cfd->last_arg);
 		i = cls_vlu2(priv, cfd->argv);
 		cfd->argv[cfd->last_idx] = NULL;
-		FreeArgv(cfd->argv);	
+		FreeArgv(cfd->argv);
 		cfd->argv = NULL;
 		free(cli->cmd);
 		cli->cmd = NULL;

Modified: trunk/varnish-cache/lib/libvcl/vcc_expr.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_expr.c	2010-12-31 12:43:03 UTC (rev 5670)
+++ trunk/varnish-cache/lib/libvcl/vcc_expr.c	2010-12-31 12:46:11 UTC (rev 5671)
@@ -827,7 +827,7 @@
 	{typ,		T_LEQ,	"(\v1 <= \v2)" },	\
 	{typ,		T_GEQ,	"(\v1 >= \v2)" },	\
 	{typ,		'<',	"(\v1 < \v2)" },	\
-	{typ,		'>',	"(\v1 > \v2)" }	
+	{typ,		'>',	"(\v1 > \v2)" }
 
 static const struct cmps {
 	enum var_type		fmt;

Modified: trunk/varnish-cache/lib/libvcl/vcc_storage.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_storage.c	2010-12-31 12:43:03 UTC (rev 5670)
+++ trunk/varnish-cache/lib/libvcl/vcc_storage.c	2010-12-31 12:46:11 UTC (rev 5671)
@@ -71,7 +71,7 @@
 #define PFX "storage."
 
 /*--------------------------------------------------------------------
- * 
+ *
  */
 
 static struct var *

Modified: trunk/varnish-tools/perl/Varnish-API/ppport.h
===================================================================
--- trunk/varnish-tools/perl/Varnish-API/ppport.h	2010-12-31 12:43:03 UTC (rev 5670)
+++ trunk/varnish-tools/perl/Varnish-API/ppport.h	2010-12-31 12:46:11 UTC (rev 5671)
@@ -3490,9 +3490,9 @@
 #if   ((PERL_VERSION < 3) || ((PERL_VERSION == 3) && (PERL_SUBVERSION < 22)))
 		start_subparse(),
 #elif ((PERL_VERSION == 3) && (PERL_SUBVERSION == 22))
-     		start_subparse(0),
+		start_subparse(0),
 #else  /* 5.003_23  onwards */
-     		start_subparse(FALSE, 0),
+		start_subparse(FALSE, 0),
 #endif
 
 		newSVOP(OP_CONST, 0, newSVpv(name,0)),




More information about the varnish-commit mailing list