From: William A. Rowe Jr Date: Wed, 13 Jul 2005 14:06:24 +0000 (+0000) Subject: Fix two fat-fingered typos from commit 216156. Code matches previous X-Git-Tag: 2.1.7~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a44d6866d51923ff02965cf6418c284d10444dc;p=apache Fix two fat-fingered typos from commit 216156. Code matches previous behavior now; time to start fixing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@216159 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_http.c b/modules/proxy/mod_proxy_http.c index e24062e598..fd37f914d1 100644 --- a/modules/proxy/mod_proxy_http.c +++ b/modules/proxy/mod_proxy_http.c @@ -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 {