[master] 6b4267b White space polish

Poul-Henning Kamp phk at FreeBSD.org
Thu Nov 27 11:07:31 CET 2014


commit 6b4267b4bc216c4bc6625f6500b2223a7ea8017e
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Nov 27 10:07:07 2014 +0000

    White space polish

diff --git a/include/tbl/vsc_f_main.h b/include/tbl/vsc_f_main.h
index 1a57bf3..c4bb931 100644
--- a/include/tbl/vsc_f_main.h
+++ b/include/tbl/vsc_f_main.h
@@ -311,7 +311,7 @@ VSC_F(sess_dropped,		uint64_t, 0, 'c', info,
 
 VSC_F(n_object,			uint64_t, 1, 'i', info,
     "object structs made",
-        "Number of object structs made"
+	"Number of object structs made"
 )
 VSC_F(n_vampireobject,		uint64_t, 1, 'i', diag,
     "unresurrected objects",
@@ -319,15 +319,15 @@ VSC_F(n_vampireobject,		uint64_t, 1, 'i', diag,
 )
 VSC_F(n_objectcore,		uint64_t, 1, 'i', info,
     "objectcore structs made",
-       "Number of objectcore structs made"
+	"Number of objectcore structs made"
 )
 VSC_F(n_objecthead,		uint64_t, 1, 'i', info,
     "objecthead structs made",
-        "Number of objecthead structs made"
+	"Number of objecthead structs made"
 )
 VSC_F(n_waitinglist,		uint64_t, 1, 'i', debug,
     "waitinglist structs made",
-        "Number of waitinglist structs made"
+	"Number of waitinglist structs made"
 )
 
 VSC_F(n_backend,		uint64_t, 0, 'i', info,
@@ -347,7 +347,7 @@ VSC_F(n_lru_nuked,		uint64_t, 0, 'i', info,
 )
 VSC_F(n_lru_moved,		uint64_t, 0, 'i', diag,
     "Number of LRU moved objects",
-        "Number of move operations done on the LRU list."
+	"Number of move operations done on the LRU list."
 )
 
 VSC_F(losthdr,			uint64_t, 0, 'a', info,
diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 75b1f9b..cf6bd66 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -564,9 +564,9 @@ sp_variables = [
 		'INT',
 		( 'hit', 'deliver',),
 		( ), """
-                The count of cache-hits on this object. A value of 0 indicates a
+		The count of cache-hits on this object. A value of 0 indicates a
 		cache miss.
-                """
+		"""
 	),
 	('obj.http.',
 		'HEADER',
diff --git a/lib/libvmod_std/vmod.vcc b/lib/libvmod_std/vmod.vcc
index 73835f9..5f21332 100644
--- a/lib/libvmod_std/vmod.vcc
+++ b/lib/libvmod_std/vmod.vcc
@@ -126,7 +126,7 @@ Description
 	*fallback* will be returned.
 Example
 	| if (std.integer(beresp.http.x-foo, 0) > 5) {
-	| 	...
+	|	...
 	| }
 
 $Function IP ip(STRING s, IP fallback)
@@ -137,7 +137,7 @@ Description
 	fails, *fallback* will be returned.
 Example
 	| if (std.ip(req.http.X-forwarded-for, "0.0.0.0") ~ my_acl) {
-	| 	...
+	|	...
 	| }
 
 $Function REAL real(STRING s, REAL fallback)
@@ -224,7 +224,7 @@ Description
 	Note that the comparison is case sensitive.
 Example
 	| if (std.strstr(req.url, req.http.x-restrict)) {
-	| 	...
+	|	...
 	| }
 
 



More information about the varnish-commit mailing list