]> granicus.if.org Git - apache/commitdiff
Use symbolic names
authorMartin Kraemer <martin@apache.org>
Thu, 31 Jan 2002 14:55:05 +0000 (14:55 +0000)
committerMartin Kraemer <martin@apache.org>
Thu, 31 Jan 2002 14:55:05 +0000 (14:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93130 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_kernel.c

index e6dbfa8e92f2c0a112a91ac6dabf7a6d8d9bc03b..00ba0e8f45e19a7bf3bff17fc4dc143bb7258041 100644 (file)
@@ -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 */