From 5d78d118184eac69d73ef63a2ff828839fd1bbf9 Mon Sep 17 00:00:00 2001 From: des Date: Fri, 19 Oct 2007 08:55:46 +0000 Subject: [PATCH] Style & whitespace git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2124 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_fetch.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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); -- 2.39.5