mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Fix some bad ap_log_error() invocations. Comment on a bad
ap_log_rerror() invocation. Almost all of this is in code never compiled. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85860 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -644,30 +644,30 @@ static const char *
|
||||
|
||||
if (ap_proxy_is_ipaddr(New, parms->pool)) {
|
||||
#if DEBUGGING
|
||||
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, 0, NULL,
|
||||
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL,
|
||||
"Parsed addr %s", inet_ntoa(New->addr));
|
||||
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, 0, NULL,
|
||||
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL,
|
||||
"Parsed mask %s", inet_ntoa(New->mask));
|
||||
#endif
|
||||
}
|
||||
else if (ap_proxy_is_domainname(New, parms->pool)) {
|
||||
ap_str_tolower(New->name);
|
||||
#if DEBUGGING
|
||||
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, 0, NULL,
|
||||
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL,
|
||||
"Parsed domain %s", New->name);
|
||||
#endif
|
||||
}
|
||||
else if (ap_proxy_is_hostname(New, parms->pool)) {
|
||||
ap_str_tolower(New->name);
|
||||
#if DEBUGGING
|
||||
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, 0, NULL,
|
||||
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL,
|
||||
"Parsed host %s", New->name);
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
ap_proxy_is_word(New, parms->pool);
|
||||
#if DEBUGGING
|
||||
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, 0, NULL,
|
||||
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL,
|
||||
"Parsed word %s", New->name);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user