From: David Reid Date: Sat, 27 Jan 2001 20:03:23 +0000 (+0000) Subject: BeOS BONE shouldn't be using this BeOS R5 check, so alter the check to make it X-Git-Tag: APACHE_2_0_BETA_CANDIDATE_1~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fce4fb7fb3d0aee04b4b8a2830e0892161320429;p=apache BeOS BONE shouldn't be using this BeOS R5 check, so alter the check to make it work correctly. Shouldn't this be APR'ized? git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87872 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/util.c b/server/util.c index fd5a82de40..62bd5eeade 100644 --- a/server/util.c +++ b/server/util.c @@ -1782,7 +1782,7 @@ char *ap_get_local_host(apr_pool_t *a) char *server_hostname = NULL; struct hostent *p; -#ifdef BEOS +#ifdef BEOS_R5 if (gethostname(str, sizeof(str) - 1) == 0) #else if (gethostname(str, sizeof(str) - 1) != 0)