httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: apache-2.0/src/lib/apr/network_io/unix inet_aton.c networkio.h poll.c sendrecv.c sockets.c sockopt.c
Date Tue, 16 May 2000 20:56:50 GMT
On 16 May 2000 rbb@locus.apache.org wrote:
>...
>   --- sockets.c	2000/05/04 03:43:49	1.42
>   +++ sockets.c	2000/05/16 20:35:39	1.43
>...
>   @@ -102,6 +111,9 @@
>    
>    ap_status_t ap_shutdown(ap_socket_t *thesocket, ap_shutdown_how_e how)
>    {
>   +#ifdef BEOS
>   +    return shutdown(thesocket->socketdes, how);
>   +#endif
>        if (shutdown(thesocket->socketdes, how) == 0) {
>            return APR_SUCCESS;
>        }

Maybe use a #else in there to prevent "unreachable code" ?

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/


Mime
View raw message