From cd889ec7e0400b30032b94c222c81a3da2301888 Mon Sep 17 00:00:00 2001 From: des Date: Sat, 5 May 2007 14:08:01 +0000 Subject: [PATCH] Whitespace nits git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1383 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_fetch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_fetch.c b/varnish-cache/bin/varnishd/cache_fetch.c index c9e17074..bb86a04e 100644 --- a/varnish-cache/bin/varnishd/cache_fetch.c +++ b/varnish-cache/bin/varnishd/cache_fetch.c @@ -121,7 +121,7 @@ fetch_chunked(const struct sess *sp, int fd, struct http *hp) * * The canonical way to do that is to do a blocking * read(2) of one char, then change to nonblocking, - * read as many as we find, then change back to + * read as many as we find, then change back to * blocking reads again. * * Hardly much more efficient and certainly a good @@ -311,13 +311,13 @@ Fetch(struct sess *sp) /* XXX: cleanup */ return (1); } + CHECK_OBJ_NOTNULL(sp, SESS_MAGIC); CHECK_OBJ_NOTNULL(sp->wrk, WORKER_MAGIC); CHECK_OBJ_NOTNULL(sp->obj, OBJECT_MAGIC); sp->obj->entered = time(NULL); - assert(sp->obj->busy != 0); if (http_GetHdr(vc->http, H_Last_Modified, &b)) -- 2.39.5