]> err.no Git - varnish/commitdiff
More whitespace changes
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 11 Aug 2008 09:49:41 +0000 (09:49 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 11 Aug 2008 09:49:41 +0000 (09:49 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3079 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_backend.c
varnish-cache/bin/varnishd/cache_pool.c
varnish-cache/bin/varnishd/mgt_child.c
varnish-cache/lib/libvarnish/binary_heap.c
varnish-cache/lib/libvarnish/vev.c

index 2db0856141ca89e6d9aa521dbb8ab712dc6e206f..098d9e111904a5eabfb0dfad80b6c30f843bc3c1 100644 (file)
@@ -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
index 912a6472c7ff082170105f989a4f7a826a492fe5..704b043e429a63c1f5ac18c4e97d10f14b78c20d 100644 (file)
@@ -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.
index 7d957275e897ae6cae6ba7d2edcd5fadcaf0bd91..cd6af037c4232c25b5826e62f5bbb0ab9c1d05a3 100644 (file)
@@ -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)
index ca4123bf6cd1b0d727cc682926a59d5239eef886..b0798a35005c50018392095a96711f7b95d3940d 100644 (file)
@@ -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]);
 }
index 791b092e78b5b202483062c052bad1464bad6342..bbab209ba422c0ebb9d0a41024ded6d5079d770c 100644 (file)
@@ -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);