r2124 - trunk/varnish-cache/bin/varnishd
des at projects.linpro.no
des at projects.linpro.no
Fri Oct 19 10:55:46 CEST 2007
Author: des
Date: 2007-10-19 10:55:46 +0200 (Fri, 19 Oct 2007)
New Revision: 2124
Modified:
trunk/varnish-cache/bin/varnishd/cache_fetch.c
Log:
Style & whitespace
Modified: trunk/varnish-cache/bin/varnishd/cache_fetch.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_fetch.c 2007-10-19 08:51:40 UTC (rev 2123)
+++ trunk/varnish-cache/bin/varnishd/cache_fetch.c 2007-10-19 08:55:46 UTC (rev 2124)
@@ -291,10 +291,12 @@
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 @@
free(p);
}
}
-
+
if (WRK_Flush(w)) {
VBE_UpdateHealth(sp, vc, -1);
VBE_ClosedFd(sp->wrk, vc);
More information about the varnish-commit
mailing list