From df74af75fec09bf977e0ad9996c5aeee46f1bb3e Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Mon, 21 Jan 2013 16:23:43 +0000 Subject: [PATCH] * Ensure that is_v6literal is always initialized git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1436457 13f79535-47bb-0310-9956-ffa450edef68 --- server/vhost.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/vhost.c b/server/vhost.c index ebce5e9d0e9..318b0a1d2f0 100644 --- a/server/vhost.c +++ b/server/vhost.c @@ -1133,7 +1133,8 @@ AP_DECLARE(void) ap_update_vhost_from_headers(request_rec *r) { core_server_config *conf = ap_get_core_module_config(r->server->module_config); const char *host_header = apr_table_get(r->headers_in, "Host"); - int is_v6literal, have_hostname_from_url = 0; + int is_v6literal = 0; + int have_hostname_from_url = 0; if (r->hostname) { /* -- 2.47.3