From: Joe Orton Date: Mon, 25 Jul 2005 12:44:40 +0000 (+0000) Subject: * modules/proxy/mod_proxy_http.c (stream_reqbody_cl): Fix format X-Git-Tag: 2.1.7~5^2~72 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3163fe9e99a67eb46e14e39938b0ba28b7bc34d;p=apache * modules/proxy/mod_proxy_http.c (stream_reqbody_cl): Fix format string error. (ap_proxy_http_request): Restore default case in rb_method switch to fix gcc warnings. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@224721 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_http.c b/modules/proxy/mod_proxy_http.c index f9134d96be..939d908527 100644 --- a/modules/proxy/mod_proxy_http.c +++ b/modules/proxy/mod_proxy_http.c @@ -385,7 +385,7 @@ static apr_status_t stream_reqbody_cl(apr_pool_t *p, if (bytes_streamed != cl_val) { ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, - "proxy: client %s given Content-Length did not match", + "proxy: client %s given Content-Length did not match" " number of body bytes read", r->connection->remote_ip); return APR_EOF; } @@ -955,6 +955,9 @@ skip_body: || (old_te_val != NULL) || (bytes_read > 0)); break; + default: + ap_assert(1 != 1); + break; } if (status != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_ERR, status, r->server,