httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: cvs snapshot. compiler warnings
Date Fri, 31 May 1996 19:36:33 GMT
Committed.

Cheers,

Ben.

Rob Hartill wrote:
> 
> 
> Fix HPUX compiler warning.
> 
> 
> *** http_main.c.orig    Fri May 31 13:56:08 1996
> --- http_main.c Fri May 31 13:58:22 1996
> ***************
> *** 1172,1178 ****
> --- 1172,1182 ----
>   
>             for (;;) {
>                 memcpy(&fds, &listenfds, sizeof(fd_set));
> + #ifdef HPUX
> +               csd = select(listenmaxfd+1, (int*)&fds, NULL, NULL, NULL);
> + #else
>                 csd = select(listenmaxfd+1, &fds, NULL, NULL, NULL);
> + #endif
>                 if (csd == -1 && errno != EINTR)
>                     log_unixerr("select",NULL,"select error", server_conf);
>                 if (csd <= 0) continue;
> 

-- 
Ben Laurie                  Phone: +44 (181) 994 6435
Freelance Consultant and    Fax:   +44 (181) 994 6472
Technical Director          Email: ben@algroup.co.uk
A.L. Digital Ltd,           URL: http://www.algroup.co.uk
London, England.

Mime
View raw message