r4689 - in trunk/varnish-cache: bin/varnishd lib/libvarnish lib/libvcl

phk at varnish-cache.org phk at varnish-cache.org
Mon Apr 19 14:08:32 CEST 2010


Author: phk
Date: 2010-04-19 14:08:32 +0200 (Mon, 19 Apr 2010)
New Revision: 4689

Modified:
   trunk/varnish-cache/bin/varnishd/cache_center.c
   trunk/varnish-cache/bin/varnishd/cache_response.c
   trunk/varnish-cache/bin/varnishd/mgt_child.c
   trunk/varnish-cache/bin/varnishd/stevedore.c
   trunk/varnish-cache/lib/libvarnish/binary_heap.c
   trunk/varnish-cache/lib/libvcl/vcc_acl.c
   trunk/varnish-cache/lib/libvcl/vcc_var.c
Log:
Whitespace cleanup



Modified: trunk/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_center.c	2010-04-19 12:06:44 UTC (rev 4688)
+++ trunk/varnish-cache/bin/varnishd/cache_center.c	2010-04-19 12:08:32 UTC (rev 4689)
@@ -1051,7 +1051,7 @@
 	assert(sp->handling == VCL_RET_HASH);
 	SHA256_Final(sp->digest, sp->wrk->sha256ctx);
 
-	if (!strcmp(sp->http->hd[HTTP_HDR_REQ].b, "HEAD")) 
+	if (!strcmp(sp->http->hd[HTTP_HDR_REQ].b, "HEAD"))
 		sp->wantbody = 0;
 	else
 		sp->wantbody = 1;

Modified: trunk/varnish-cache/bin/varnishd/cache_response.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_response.c	2010-04-19 12:06:44 UTC (rev 4688)
+++ trunk/varnish-cache/bin/varnishd/cache_response.c	2010-04-19 12:08:32 UTC (rev 4689)
@@ -207,8 +207,8 @@
 	} else if (params->http_range_support)
 		http_SetHeader(sp->wrk, sp->fd, sp->wrk->resp,
 		    "Accept-Ranges: bytes");
-		
 
+
 	TIM_format(TIM_real(), time_str);
 	http_PrintfHeader(sp->wrk, sp->fd, sp->wrk->resp, "Date: %s", time_str);
 
@@ -248,7 +248,7 @@
 
 		if (sp->esis == 0)
 			/* no headers for interior ESI includes */
-			sp->acct_req.hdrbytes += 
+			sp->acct_req.hdrbytes +=
 			    http_Write(sp->wrk, sp->wrk->resp, 1);
 
 		if (WRW_FlushRelease(sp->wrk)) {
@@ -279,7 +279,7 @@
 	    sp->http->protover >= 1.1 &&
 	    sp->obj->len > 0) {
 		/*
-		 * Interior ESI includes (which are not themselves ESI 
+		 * Interior ESI includes (which are not themselves ESI
 		 * objects) use chunked encoding (here) or EOF (nothing)
 		 */
 		assert(sp->wantbody);
@@ -304,7 +304,7 @@
 		off = 0;
 		if (ptr + len <= low) {
 			/* This segment is too early */
-			ptr += len;	
+			ptr += len;
 			continue;
 		}
 		if (ptr < low) {

Modified: trunk/varnish-cache/bin/varnishd/mgt_child.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_child.c	2010-04-19 12:06:44 UTC (rev 4688)
+++ trunk/varnish-cache/bin/varnishd/mgt_child.c	2010-04-19 12:08:32 UTC (rev 4689)
@@ -101,7 +101,7 @@
 /*--------------------------------------------------------------------
  * Track the highest file descriptor the parent knows is being used.
  *
- * This allows the child process to clean/close only a small fraction 
+ * This allows the child process to clean/close only a small fraction
  * of the possible file descriptors after exec(2).
  *
  * This is likely to a bit on the low side, as libc and other libraries

Modified: trunk/varnish-cache/bin/varnishd/stevedore.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/stevedore.c	2010-04-19 12:06:44 UTC (rev 4688)
+++ trunk/varnish-cache/bin/varnishd/stevedore.c	2010-04-19 12:08:32 UTC (rev 4689)
@@ -141,8 +141,8 @@
 	o = (void *)st->ptr; /* XXX: align ? */
 
 	l = PRNDDN(st->space - (sizeof *o + lh));
-	
 
+
 	STV_InitObj(sp, o, l, lh, nhttp);
 	o->objstore = st;
 	return (o);

Modified: trunk/varnish-cache/lib/libvarnish/binary_heap.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/binary_heap.c	2010-04-19 12:06:44 UTC (rev 4688)
+++ trunk/varnish-cache/lib/libvarnish/binary_heap.c	2010-04-19 12:08:32 UTC (rev 4689)
@@ -194,7 +194,7 @@
 		;
 	bh->page_shift = u;
 	assert(bh->page_size <= (sizeof(**bh->array) * ROW_WIDTH));
-	
+
 	bh->cmp = cmp_f;
 	bh->update = update_f;
 	bh->next = ROOT_IDX;

Modified: trunk/varnish-cache/lib/libvcl/vcc_acl.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_acl.c	2010-04-19 12:06:44 UTC (rev 4688)
+++ trunk/varnish-cache/lib/libvcl/vcc_acl.c	2010-04-19 12:08:32 UTC (rev 4689)
@@ -308,7 +308,7 @@
 		ae->mask = vcc_UintVal(tl);
 	}
 
-	if (ae->para) 
+	if (ae->para)
 		SkipToken(tl, ')');
 
 	if (!vcc_acl_try_netnotation(tl, ae)) {

Modified: trunk/varnish-cache/lib/libvcl/vcc_var.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_var.c	2010-04-19 12:06:44 UTC (rev 4688)
+++ trunk/varnish-cache/lib/libvcl/vcc_var.c	2010-04-19 12:08:32 UTC (rev 4689)
@@ -131,7 +131,7 @@
 		Fb(tl, 0, "%g", d);
 	} else if (vp->fmt == FLOAT) {
 		Fb(tl, 0, "%g", vcc_DoubleVal(tl));
-	} else if (vp->fmt == INT) { 
+	} else if (vp->fmt == INT) {
 		Fb(tl, 0, "%u", vcc_UintVal(tl));
 	} else {
 		AN(vt);




More information about the varnish-commit mailing list