summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2009-01-10 02:35:50 +0100
committerEric Covener <covener@apache.org>2009-01-10 02:35:50 +0100
commit5c8ab974a1e8e8397638baa6401615ccd6e58912 (patch)
tree30edad38ad0b613ff881d0d026b51886e85163aa /modules
parentsimplifications per niq's review comments (diff)
downloadapache2-5c8ab974a1e8e8397638baa6401615ccd6e58912.tar.xz
apache2-5c8ab974a1e8e8397638baa6401615ccd6e58912.zip
use ap_log_rerror instead of r->server per niq's comments
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@733219 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/proxy/mod_proxy_http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/proxy/mod_proxy_http.c b/modules/proxy/mod_proxy_http.c
index f22dfa3dcb..990e736939 100644
--- a/modules/proxy/mod_proxy_http.c
+++ b/modules/proxy/mod_proxy_http.c
@@ -1619,7 +1619,7 @@ apr_status_t ap_proxy_http_process_response(apr_pool_t * p, request_rec *r,
*/
const char *policy = apr_table_get(r->subprocess_env,
"proxy-interim-response");
- ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
+ ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,
"proxy: HTTP: received interim %d response",
r->status);
if (!policy || !strcasecmp(policy, "RFC")) {
@@ -1629,7 +1629,7 @@ apr_status_t ap_proxy_http_process_response(apr_pool_t * p, request_rec *r,
* policies and maybe also add option to bail out with 502
*/
else if (strcasecmp(policy, "Suppress")) {
- ap_log_error(APLOG_MARK, APLOG_WARNING, 0, r->server,
+ ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r,
"undefined proxy interim response policy");
}
}