Commit 7de7cc93 authored by David Reid's avatar David Reid
Browse files

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
parent be6cc2c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)