From: David Reid Date: Wed, 14 Feb 2001 13:35:05 +0000 (+0000) Subject: Beos R5 and below don't have the sin_len member in sockaddr_in so don't X-Git-Tag: 2.0.11~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6dba2de5608347d76f7e457abd0daf7c03d8c1c;p=apache 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 --- 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);