summaryrefslogtreecommitdiff
path: root/server/vhost.c
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2013-01-21 16:23:43 +0000
committerRuediger Pluem <rpluem@apache.org>2013-01-21 16:23:43 +0000
commit3bd54f88b57624036acc980a4eae66db184882f1 (patch)
tree5ffdda7e481dd81cba18c3f405dd620c9b7e26f5 /server/vhost.c
parent5b1b533e74e23b7b48ceee902d23a32099c96898 (diff)
downloadhttpd-3bd54f88b57624036acc980a4eae66db184882f1.tar.gz
* 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
Diffstat (limited to 'server/vhost.c')
-rw-r--r--server/vhost.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/vhost.c b/server/vhost.c
index ebce5e9d0e..318b0a1d2f 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) {
/*