From 56d62910b0fe1f35fd8ffe3314d1c0ebd33434b2 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Wed, 16 Jan 2002 15:52:15 +0000 Subject: [PATCH] fix a syntax error in an initializer which prevented http_main.c from 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/http_main.c b/src/main/http_main.c index 004e498ef93..50ca6f19f36 100644 --- a/src/main/http_main.c +++ b/src/main/http_main.c @@ -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; -- 2.47.2