]> granicus.if.org Git - apache/commitdiff
use ap_log_rerror instead of r->server per niq's comments
authorEric Covener <covener@apache.org>
Sat, 10 Jan 2009 01:35:50 +0000 (01:35 +0000)
committerEric Covener <covener@apache.org>
Sat, 10 Jan 2009 01:35:50 +0000 (01:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@733219 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_http.c

index f22dfa3dcb8d335d7d02b57b84d02e7f13307909..990e7369398f0c81c24645128ce94d2081511459 100644 (file)
@@ -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");
             }
         }