You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2013/01/21 17:23:44 UTC

svn commit: r1436457 - /httpd/httpd/trunk/server/vhost.c

Author: rpluem
Date: Mon Jan 21 16:23:43 2013
New Revision: 1436457

URL: http://svn.apache.org/viewvc?rev=1436457&view=rev
Log:
* Ensure that is_v6literal is always initialized

Modified:
    httpd/httpd/trunk/server/vhost.c

Modified: httpd/httpd/trunk/server/vhost.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/vhost.c?rev=1436457&r1=1436456&r2=1436457&view=diff
==============================================================================
--- httpd/httpd/trunk/server/vhost.c (original)
+++ httpd/httpd/trunk/server/vhost.c Mon Jan 21 16:23:43 2013
@@ -1133,7 +1133,8 @@ AP_DECLARE(void) ap_update_vhost_from_he
 {
     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) {
         /*