From c6dba2de5608347d76f7e457abd0daf7c03d8c1c Mon Sep 17 00:00:00 2001 From: David Reid Date: Wed, 14 Feb 2001 13:35:05 +0000 Subject: [PATCH] Beos R5 and below don't have the sin_len member in sockaddr_in so don't try and use it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88157 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/beos/beos.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/mpm/beos/beos.c b/server/mpm/beos/beos.c index 4eb06c2e05..715c80450a 100644 --- a/server/mpm/beos/beos.c +++ b/server/mpm/beos/beos.c @@ -650,7 +650,9 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s) } /* now build the udp sockaddr_in structure... */ +#ifdef BEOS_BONE udpsi.sin_len = sizeof(struct sockaddr_in); +#endif udpsi.sin_family = AF_INET; udpsi.sin_port = htons(7777); udpsi.sin_addr.s_addr = htonl(INADDR_LOOPBACK); -- 2.50.1