From: Greg Ames Date: Wed, 12 Jan 2005 22:28:27 +0000 (+0000) Subject: simplify X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5bb4841177c9982438b40392f4226081d8e8bce;p=thirdparty%2Fapache%2Fhttpd.git simplify git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124999 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_http.c b/modules/proxy/proxy_http.c index 708def9aa9f..a0a81463d49 100644 --- a/modules/proxy/proxy_http.c +++ b/modules/proxy/proxy_http.c @@ -488,11 +488,7 @@ static apr_status_t stream_reqbody_cl(apr_pool_t *p, b = input_brigade; /* empty now; pass_brigade() will add flush */ } status = pass_brigade(bucket_alloc, r, conn, origin, b, 1); - if (status != APR_SUCCESS) { - return status; - } - - return APR_SUCCESS; + return status; } #define MAX_MEM_SPOOL 16384 @@ -619,11 +615,7 @@ static apr_status_t spool_reqbody_cl(apr_pool_t *p, APR_BRIGADE_INSERT_TAIL(header_brigade, e); } status = pass_brigade(bucket_alloc, r, conn, origin, header_brigade, 1); - if (status != APR_SUCCESS) { - return status; - } - - return APR_SUCCESS; + return status; } static apr_status_t send_request_body(apr_pool_t *p,