From 6dcbf9efd366d46b93abbb31745a7c6d9c8d5592 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 27 Jun 2008 12:30:25 +0000 Subject: [PATCH] Fix a minor issue in pipelining git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2850 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_httpconn.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_httpconn.c b/varnish-cache/bin/varnishd/cache_httpconn.c index 4078f2ec..16bb5121 100644 --- a/varnish-cache/bin/varnishd/cache_httpconn.c +++ b/varnish-cache/bin/varnishd/cache_httpconn.c @@ -106,7 +106,6 @@ int HTC_Reinit(struct http_conn *htc) { unsigned l; - int i; CHECK_OBJ_NOTNULL(htc, HTTP_CONN_MAGIC); (void)WS_Reserve(htc->ws, (htc->ws->e - htc->ws->s) / 2); @@ -120,8 +119,7 @@ HTC_Reinit(struct http_conn *htc) htc->pipeline.e = NULL; } *htc->rxbuf.e = '\0'; - i = htc_header_complete(&htc->rxbuf); - return (i); + return (HTC_Complete(htc)); } /*-------------------------------------------------------------------- -- 2.39.5