From: Ruediger Pluem Date: Mon, 21 Jan 2013 16:23:43 +0000 (+0000) Subject: * Ensure that is_v6literal is always initialized X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df74af75fec09bf977e0ad9996c5aeee46f1bb3e;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- 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) { /*