]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
simplify
authorGreg Ames <gregames@apache.org>
Wed, 12 Jan 2005 22:28:27 +0000 (22:28 +0000)
committerGreg Ames <gregames@apache.org>
Wed, 12 Jan 2005 22:28:27 +0000 (22:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124999 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_http.c

index 708def9aa9fec0351aacddb4b79e19c0abc00ea0..a0a81463d49c0d17a7915ab37900defbb1b2310d 100644 (file)
@@ -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,