]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
fix a syntax error in an initializer which prevented http_main.c from
authorJeff Trawick <trawick@apache.org>
Wed, 16 Jan 2002 15:52:15 +0000 (15:52 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 16 Jan 2002 15:52:15 +0000 (15:52 +0000)
compiling on at least OS/390, AIX w/ xlc, and HP-UX with HP compiler;
Tru64 cc previously complained but generated code anyway; gcc -Wall
didn't complain before

unfortunately, this introduces a warning with gcc -Wall on Solaris since
in_addr is a union

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@92863 13f79535-47bb-0310-9956-ffa450edef68

src/main/http_main.c

index 004e498ef93cb21690d8fd8baea81598eb233f69..50ca6f19f364449252bf55643e919eafcc188db2 100644 (file)
@@ -249,7 +249,7 @@ API_VAR_EXPORT char *ap_pid_fname=NULL;
 API_VAR_EXPORT char *ap_scoreboard_fname=NULL;
 API_VAR_EXPORT char *ap_lock_fname=NULL;
 API_VAR_EXPORT char *ap_server_argv0=NULL;
-API_VAR_EXPORT struct in_addr ap_bind_address={};
+API_VAR_EXPORT struct in_addr ap_bind_address={0};
 API_VAR_EXPORT int ap_daemons_to_start=0;
 API_VAR_EXPORT int ap_daemons_min_free=0;
 API_VAR_EXPORT int ap_daemons_max_free=0;