]> granicus.if.org Git - apache/commitdiff
Beos R5 and below don't have the sin_len member in sockaddr_in so don't
authorDavid Reid <dreid@apache.org>
Wed, 14 Feb 2001 13:35:05 +0000 (13:35 +0000)
committerDavid Reid <dreid@apache.org>
Wed, 14 Feb 2001 13:35:05 +0000 (13:35 +0000)
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

index 4eb06c2e05ec50e6ca5f91d99a3e4e55500454e2..715c80450a521a95c8c8251585492c76c10c9618 100644 (file)
@@ -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);