r3079 - in trunk/varnish-cache: bin/varnishd lib/libvarnish

tfheen at projects.linpro.no tfheen at projects.linpro.no
Mon Aug 11 11:49:41 CEST 2008


Author: tfheen
Date: 2008-08-11 11:49:41 +0200 (Mon, 11 Aug 2008)
New Revision: 3079

Modified:
   trunk/varnish-cache/bin/varnishd/cache_backend.c
   trunk/varnish-cache/bin/varnishd/cache_pool.c
   trunk/varnish-cache/bin/varnishd/mgt_child.c
   trunk/varnish-cache/lib/libvarnish/binary_heap.c
   trunk/varnish-cache/lib/libvarnish/vev.c
Log:
More whitespace changes


Modified: trunk/varnish-cache/bin/varnishd/cache_backend.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_backend.c	2008-08-11 09:41:51 UTC (rev 3078)
+++ trunk/varnish-cache/bin/varnishd/cache_backend.c	2008-08-11 09:49:41 UTC (rev 3079)
@@ -377,7 +377,7 @@
 		b = sp->backend;
 	}
 	AN(b->method);
-	if(b->method->updatehealth != NULL)
+	if (b->method->updatehealth != NULL)
 		b->method->updatehealth(sp, vc, a);
 	CHECK_OBJ_NOTNULL(b, BACKEND_MAGIC);
 #endif

Modified: trunk/varnish-cache/bin/varnishd/cache_pool.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pool.c	2008-08-11 09:41:51 UTC (rev 3078)
+++ trunk/varnish-cache/bin/varnishd/cache_pool.c	2008-08-11 09:49:41 UTC (rev 3079)
@@ -352,7 +352,7 @@
 	 */
 	sp->t_end = TIM_real();
 	vca_close_session(sp, "dropped");
-	if(sp->vcl != NULL) {
+	if (sp->vcl != NULL) {
 		/*
 		 * A session parked on a busy object can come here
 		 * after it wakes up.  Loose the VCL reference.

Modified: trunk/varnish-cache/bin/varnishd/mgt_child.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_child.c	2008-08-11 09:41:51 UTC (rev 3078)
+++ trunk/varnish-cache/bin/varnishd/mgt_child.c	2008-08-11 09:49:41 UTC (rev 3079)
@@ -114,7 +114,7 @@
 {
 
 	assert(fd >= 0);
-	if(fd_map == NULL)
+	if (fd_map == NULL)
 		fd_map = vbit_init(128);
 	AN(fd_map);
 	if (what != NULL)

Modified: trunk/varnish-cache/lib/libvarnish/binary_heap.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/binary_heap.c	2008-08-11 09:41:51 UTC (rev 3078)
+++ trunk/varnish-cache/lib/libvarnish/binary_heap.c	2008-08-11 09:49:41 UTC (rev 3079)
@@ -194,7 +194,7 @@
 
 	assert(bh != NULL);
 	assert(bh->magic == BINHEAP_MAGIC);
-	if(bh->next == ROOT_IDX)
+	if (bh->next == ROOT_IDX)
 		return (NULL);
 	return (bh->array[ROOT_IDX]);
 }

Modified: trunk/varnish-cache/lib/libvarnish/vev.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/vev.c	2008-08-11 09:41:51 UTC (rev 3078)
+++ trunk/varnish-cache/lib/libvarnish/vev.c	2008-08-11 09:49:41 UTC (rev 3079)
@@ -476,7 +476,7 @@
 		return (vev_sched_signal(evb));
 	assert(evb->lpfd < evb->npfd);
 	i = poll(evb->pfd, evb->lpfd, tmo);
-	if(i == -1 && errno == EINTR)
+	if (i == -1 && errno == EINTR)
 		return (vev_sched_signal(evb));
 	if (i == 0) {
 		assert(e != NULL);




More information about the varnish-commit mailing list