Commit ac3b1bb7 authored by Tollef Fog Heen's avatar Tollef Fog Heen

More whitespace changes


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3079 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 33113e8b
...@@ -377,7 +377,7 @@ VBE_UpdateHealth(const struct sess *sp, const struct vbe_conn *vc, int a) ...@@ -377,7 +377,7 @@ VBE_UpdateHealth(const struct sess *sp, const struct vbe_conn *vc, int a)
b = sp->backend; b = sp->backend;
} }
AN(b->method); AN(b->method);
if(b->method->updatehealth != NULL) if (b->method->updatehealth != NULL)
b->method->updatehealth(sp, vc, a); b->method->updatehealth(sp, vc, a);
CHECK_OBJ_NOTNULL(b, BACKEND_MAGIC); CHECK_OBJ_NOTNULL(b, BACKEND_MAGIC);
#endif #endif
......
...@@ -352,7 +352,7 @@ WRK_QueueSession(struct sess *sp) ...@@ -352,7 +352,7 @@ WRK_QueueSession(struct sess *sp)
*/ */
sp->t_end = TIM_real(); sp->t_end = TIM_real();
vca_close_session(sp, "dropped"); vca_close_session(sp, "dropped");
if(sp->vcl != NULL) { if (sp->vcl != NULL) {
/* /*
* A session parked on a busy object can come here * A session parked on a busy object can come here
* after it wakes up. Loose the VCL reference. * after it wakes up. Loose the VCL reference.
......
...@@ -114,7 +114,7 @@ mgt_child_inherit(int fd, const char *what) ...@@ -114,7 +114,7 @@ mgt_child_inherit(int fd, const char *what)
{ {
assert(fd >= 0); assert(fd >= 0);
if(fd_map == NULL) if (fd_map == NULL)
fd_map = vbit_init(128); fd_map = vbit_init(128);
AN(fd_map); AN(fd_map);
if (what != NULL) if (what != NULL)
......
...@@ -194,7 +194,7 @@ binheap_root(const struct binheap *bh) ...@@ -194,7 +194,7 @@ binheap_root(const struct binheap *bh)
assert(bh != NULL); assert(bh != NULL);
assert(bh->magic == BINHEAP_MAGIC); assert(bh->magic == BINHEAP_MAGIC);
if(bh->next == ROOT_IDX) if (bh->next == ROOT_IDX)
return (NULL); return (NULL);
return (bh->array[ROOT_IDX]); return (bh->array[ROOT_IDX]);
} }
......
...@@ -476,7 +476,7 @@ vev_schedule_one(struct vev_base *evb) ...@@ -476,7 +476,7 @@ vev_schedule_one(struct vev_base *evb)
return (vev_sched_signal(evb)); return (vev_sched_signal(evb));
assert(evb->lpfd < evb->npfd); assert(evb->lpfd < evb->npfd);
i = poll(evb->pfd, evb->lpfd, tmo); i = poll(evb->pfd, evb->lpfd, tmo);
if(i == -1 && errno == EINTR) if (i == -1 && errno == EINTR)
return (vev_sched_signal(evb)); return (vev_sched_signal(evb));
if (i == 0) { if (i == 0) {
assert(e != NULL); assert(e != NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment