From: Martin Kraemer Date: Thu, 31 Jan 2002 14:55:05 +0000 (+0000) Subject: Use symbolic names X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd808b6ab008cbe5b992a8d5e09e3669228c6449;p=thirdparty%2Fapache%2Fhttpd.git Use symbolic names git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@93130 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_kernel.c b/ssl_engine_kernel.c index e6dbfa8e92f..00ba0e8f45e 100644 --- a/ssl_engine_kernel.c +++ b/ssl_engine_kernel.c @@ -785,7 +785,7 @@ int ssl_hook_Access(request_rec *r) ssl_expr_get_error()); ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, r, "access to %s failed for %s, reason: %s", r->filename, - ap_get_remote_host(r->connection, r->per_dir_config, 1, NULL), cp); + ap_get_remote_host(r->connection, r->per_dir_config, REMOTE_NAME, NULL), cp); /* remember forbidden access for strict require option */ apr_table_setn(r->notes, "ssl-access-forbidden", (void *)1); return HTTP_FORBIDDEN; @@ -798,7 +798,7 @@ int ssl_hook_Access(request_rec *r) "Failed expression: %s", pRequirement->cpExpr); ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, r, "access to %s failed for %s, reason: %s", r->filename, - ap_get_remote_host(r->connection, r->per_dir_config, 1, NULL), + ap_get_remote_host(r->connection, r->per_dir_config, REMOTE_NAME, NULL), "SSL requirement expression not fulfilled " "(see SSL logfile for more details)"); /* remember forbidden access for strict require option */