From: phk Date: Fri, 27 Jun 2008 12:30:25 +0000 (+0000) Subject: Fix a minor issue in pipelining X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dcbf9efd366d46b93abbb31745a7c6d9c8d5592;p=varnish Fix a minor issue in pipelining git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2850 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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)); } /*--------------------------------------------------------------------