From: des Date: Fri, 19 Oct 2007 08:55:46 +0000 (+0000) Subject: Style & whitespace X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d78d118184eac69d73ef63a2ff828839fd1bbf9;p=varnish Style & whitespace git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2124 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_fetch.c b/varnish-cache/bin/varnishd/cache_fetch.c index 32b4404e..895199ca 100644 --- a/varnish-cache/bin/varnishd/cache_fetch.c +++ b/varnish-cache/bin/varnishd/cache_fetch.c @@ -291,10 +291,12 @@ Fetch(struct sess *sp) return (__LINE__); WRK_Reset(w, &vc->fd); http_Write(w, hp, 0); - - /* If a POST request was passed to fetch, we must send - * any pipelined bytes to the backend as well */ - if(http_GetHdr(sp->http, H_Content_Length, &ptr)) { + + /* + * If a POST request was passed to fetch, we must send any + * pipelined bytes to the backend as well + */ + if (http_GetHdr(sp->http, H_Content_Length, &ptr)) { endp = ptr + strlen(ptr); content_length = (int)strtol(ptr, &endp, 10); content_written = 0; @@ -310,7 +312,7 @@ Fetch(struct sess *sp) free(p); } } - + if (WRK_Flush(w)) { VBE_UpdateHealth(sp, vc, -1); VBE_ClosedFd(sp->wrk, vc);