]> granicus.if.org Git - apache/commitdiff
Use r->hostname
authorJim Jagielski <jim@apache.org>
Mon, 28 Sep 2015 13:18:52 +0000 (13:18 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 28 Sep 2015 13:18:52 +0000 (13:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1705687 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_kernel.c

index 7d5e8912866b36d875f0fc57a54e0b12761ed038..037a2321a6b61801fb1d7a2212fb9347e96a1a22 100644 (file)
@@ -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;
                 }