From: Victor J. Orlikowski Date: Tue, 24 Apr 2001 02:50:19 +0000 (+0000) Subject: Just for the sake of cleanliness ... X-Git-Tag: 2.0.18~170 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=704054f6d9c16ec48ea3a296f05f89362c985b4a;p=apache Just for the sake of cleanliness ... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88926 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index 17cef14e85..347214091a 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -1087,6 +1087,7 @@ apr_status_t ap_proxy_string_read(conn_rec *c, apr_bucket_brigade *bb, { apr_bucket *e; apr_status_t rv; + apr_size_t zero = 0; char *pos = buff; char *response; int found = 0; @@ -1100,7 +1101,7 @@ apr_status_t ap_proxy_string_read(conn_rec *c, apr_bucket_brigade *bb, while (!found) { /* get brigade from network one line at a time */ - if (APR_SUCCESS != (rv = ap_get_brigade(c->input_filters, bb, AP_MODE_BLOCKING, 0))) { + if (APR_SUCCESS != (rv = ap_get_brigade(c->input_filters, bb, AP_MODE_BLOCKING, &zero))) { return rv; }