]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Ensure that is_v6literal is always initialized
authorRuediger Pluem <rpluem@apache.org>
Mon, 21 Jan 2013 16:23:43 +0000 (16:23 +0000)
committerRuediger Pluem <rpluem@apache.org>
Mon, 21 Jan 2013 16:23:43 +0000 (16:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1436457 13f79535-47bb-0310-9956-ffa450edef68

server/vhost.c

index ebce5e9d0e9f4e3330d0a79b2805feb9c1969306..318b0a1d2f08f892c4ea6fbe222d0c2f118d04fd 100644 (file)
@@ -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) {
         /*