You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1995/11/22 15:03:45 UTC

Re: votes on patches

Works for me.  +1


> The warning is harmless, but this patch (to be applied after 44_ident)
> should fix it.
> 
>  David.
> 
> *** http_main.c.orig2	Mon Nov  6 18:20:18 1995
> --- http_main.c	Wed Nov 22 11:15:13 1995
> ***************
> *** 718,729 ****
>   void child_main(int child_num_arg)
>   {
>       int clen;
> - #if defined(NEXT) || defined(LINUX) || defined(SOLARIS2)
>       struct sockaddr sa_server;
>       struct sockaddr sa_client;
> - #else
> -     struct sockaddr_in sa_server,sa_client;
> - #endif
>   
>   #ifdef ULTRIX_BRAIN_DEATH
>       extern char *rfc931();
> --- 718,725 ----
> ***************
> *** 776,782 ****
>   	
>   	accept_mutex_on();  /* Lock around "accept", if necessary */
>   	
> ! 	while ((csd=accept(sd,(struct sockaddr *)&sa_client,&clen)) == -1) 
>              if (errno != EINTR) 
>   		log_error("socket error: accept failed", server_conf);
>   
> --- 772,778 ----
>   	
>   	accept_mutex_on();  /* Lock around "accept", if necessary */
>   	
> ! 	while ((csd=accept(sd, &sa_client, &clen)) == -1) 
>              if (errno != EINTR) 
>   		log_error("socket error: accept failed", server_conf);
>