From: Jim Jagielski Date: Mon, 28 Sep 2015 13:18:52 +0000 (+0000) Subject: Use r->hostname X-Git-Tag: 2.4.17~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0de66af348e64459f5f477073f6b5484e7ed5268;p=apache Use r->hostname git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1705687 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c index 7d5e891286..037a2321a6 100644 --- a/modules/ssl/ssl_engine_kernel.c +++ b/modules/ssl/ssl_engine_kernel.c @@ -203,7 +203,7 @@ int ssl_hook_ReadReq(request_rec *r) */ ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, APLOGNO(02032) "Hostname %s provided via SNI and hostname %s provided" - " via HTTP are different", servername, host); + " via HTTP are different", servername, r->hostname); if (r->connection->keepalives > 0) { return HTTP_MISDIRECTED_REQUEST; }