From 3a82761735227612af06c640facf9a2613c22063 Mon Sep 17 00:00:00 2001 From: tfheen Date: Mon, 11 Aug 2008 09:49:41 +0000 Subject: [PATCH] More whitespace changes git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3079 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_backend.c | 2 +- varnish-cache/bin/varnishd/cache_pool.c | 2 +- varnish-cache/bin/varnishd/mgt_child.c | 2 +- varnish-cache/lib/libvarnish/binary_heap.c | 2 +- varnish-cache/lib/libvarnish/vev.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_backend.c b/varnish-cache/bin/varnishd/cache_backend.c index 2db08561..098d9e11 100644 --- a/varnish-cache/bin/varnishd/cache_backend.c +++ b/varnish-cache/bin/varnishd/cache_backend.c @@ -377,7 +377,7 @@ VBE_UpdateHealth(const struct sess *sp, const struct vbe_conn *vc, int a) 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 diff --git a/varnish-cache/bin/varnishd/cache_pool.c b/varnish-cache/bin/varnishd/cache_pool.c index 912a6472..704b043e 100644 --- a/varnish-cache/bin/varnishd/cache_pool.c +++ b/varnish-cache/bin/varnishd/cache_pool.c @@ -352,7 +352,7 @@ WRK_QueueSession(struct sess *sp) */ 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. diff --git a/varnish-cache/bin/varnishd/mgt_child.c b/varnish-cache/bin/varnishd/mgt_child.c index 7d957275..cd6af037 100644 --- a/varnish-cache/bin/varnishd/mgt_child.c +++ b/varnish-cache/bin/varnishd/mgt_child.c @@ -114,7 +114,7 @@ mgt_child_inherit(int fd, const char *what) { assert(fd >= 0); - if(fd_map == NULL) + if (fd_map == NULL) fd_map = vbit_init(128); AN(fd_map); if (what != NULL) diff --git a/varnish-cache/lib/libvarnish/binary_heap.c b/varnish-cache/lib/libvarnish/binary_heap.c index ca4123bf..b0798a35 100644 --- a/varnish-cache/lib/libvarnish/binary_heap.c +++ b/varnish-cache/lib/libvarnish/binary_heap.c @@ -194,7 +194,7 @@ binheap_root(const struct binheap *bh) 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]); } diff --git a/varnish-cache/lib/libvarnish/vev.c b/varnish-cache/lib/libvarnish/vev.c index 791b092e..bbab209b 100644 --- a/varnish-cache/lib/libvarnish/vev.c +++ b/varnish-cache/lib/libvarnish/vev.c @@ -476,7 +476,7 @@ vev_schedule_one(struct vev_base *evb) 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); -- 2.39.5