]> granicus.if.org Git - apache/commitdiff
Fix two fat-fingered typos from commit 216156. Code matches previous
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 13 Jul 2005 14:06:24 +0000 (14:06 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 13 Jul 2005 14:06:24 +0000 (14:06 +0000)
  behavior now; time to start fixing.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@216159 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_http.c

index e24062e598b062a5d047381479c70778dc03be14..fd37f914d1b70806999234d78db364e2ee82d656 100644 (file)
@@ -541,7 +541,7 @@ apr_status_t ap_proxy_http_request(apr_pool_t *p, request_rec *r,
     apr_status_t status;
     apr_bucket_brigade *header_brigade;
     enum rb_methods {RB_INIT, RB_STREAM_CL, RB_STREAM_CHUNKED, RB_SPOOL_CL};
-    rb_method = RB_INIT;
+    enum rb_methods rb_method = RB_INIT;
     const char *old_cl_val = NULL;
     const char *old_te_val = NULL;
     int cl_zero; /* client sent "Content-Length: 0", which we forward */
@@ -813,7 +813,7 @@ apr_status_t ap_proxy_http_request(apr_pool_t *p, request_rec *r,
         else if (force10) {
             rb_method = RB_SPOOL_CL;
         }
-        else if (old_te_val && !strcasecmp(te_val, "chunked")) {
+        else if (old_te_val && !strcasecmp(old_te_val, "chunked")) {
             rb_method = RB_STREAM_CHUNKED;
         }
         else {