You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gr...@apache.org on 2005/01/12 23:28:28 UTC

svn commit: r124999 - /httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c

Author: gregames
Date: Wed Jan 12 14:28:27 2005
New Revision: 124999

URL: http://svn.apache.org/viewcvs?view=rev&rev=124999
Log:
simplify

Modified:
   httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c

Modified: httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c
Url: http://svn.apache.org/viewcvs/httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c?view=diff&rev=124999&p1=httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c&r1=124998&p2=httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c&r2=124999
==============================================================================
--- httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c	(original)
+++ httpd/httpd/branches/proxy-reqbody/modules/proxy/proxy_http.c	Wed Jan 12 14:28:27 2005
@@ -488,11 +488,7 @@
         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 @@
         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,