httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r1436457 - /httpd/httpd/trunk/server/vhost.c
Date Mon, 21 Jan 2013 16:23:44 GMT
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) {
         /*



Mime
View raw message