]> granicus.if.org Git - apache/commitdiff
* modules/proxy/mod_proxy_http.c (stream_reqbody_cl): Fix format
authorJoe Orton <jorton@apache.org>
Mon, 25 Jul 2005 12:44:40 +0000 (12:44 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 25 Jul 2005 12:44:40 +0000 (12:44 +0000)
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

modules/proxy/mod_proxy_http.c

index f9134d96bec77f5ace7d2659692b31427e244777..939d908527781b7f0d9a43b29cf68ff65045701e 100644 (file)
@@ -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,