You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dg...@hyperreal.org on 1998/03/12 13:11:14 UTC
cvs commit: apache-1.3/src/main http_config.c
dgaudet 98/03/12 04:11:14
Modified: src/main http_config.c
Log:
Fix a case where sar->virthost would be NULL... in the main server.
Pointed out by Martin.
Revision Changes Path
1.102 +1 -0 apache-1.3/src/main/http_config.c
Index: http_config.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/main/http_config.c,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- http_config.c 1998/03/12 10:28:57 1.101
+++ http_config.c 1998/03/12 12:11:13 1.102
@@ -1296,6 +1296,7 @@
/* NOT virtual host; don't match any real network interface */
s->addrs->host_addr.s_addr = htonl(INADDR_ANY);
s->addrs->host_port = 0; /* matches any port */
+ s->addrs->virthost = ""; /* must be non-NULL */
s->names = s->wild_names = NULL;
s->module_config = create_server_config(p, s);