You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@apache.org on 2002/01/31 15:55:05 UTC
cvs commit: httpd-2.0/modules/ssl ssl_engine_kernel.c
martin 02/01/31 06:55:05
Modified: modules/ssl ssl_engine_kernel.c
Log:
Use symbolic names
Revision Changes Path
1.40 +2 -2 httpd-2.0/modules/ssl/ssl_engine_kernel.c
Index: ssl_engine_kernel.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_kernel.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- ssl_engine_kernel.c 17 Jan 2002 00:54:33 -0000 1.39
+++ ssl_engine_kernel.c 31 Jan 2002 14:55:05 -0000 1.40
@@ -785,7 +785,7 @@
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 @@
"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 */