httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Murcko <ch...@topsail.org>
Subject Re: [PATCH] clear memory allocated for listeners
Date Mon, 10 Mar 1997 03:07:57 GMT
+1. Works fine here.

Randy Terbush wrote:
> 
> Index: http_core.c
> ===================================================================
> RCS file: /export/home/cvs/apache/src/http_core.c,v
> retrieving revision 1.70
> diff -c -r1.70 http_core.c
> *** http_core.c 1997/02/17 10:46:06     1.70
> --- http_core.c 1997/03/07 03:52:14
> ***************
> *** 1115,1121 ****
>       } else
>         ports = ips;
> 
> !     new=palloc(cmd->pool, sizeof(listen_rec));
>       new->local_addr.sin_family = AF_INET;
>       if (ports == ips) /* no address */
>         new->local_addr.sin_addr.s_addr = htonl(INADDR_ANY);
> --- 1115,1121 ----
>       } else
>         ports = ips;
> 
> !     new=pcalloc(cmd->pool, sizeof(listen_rec));
>       new->local_addr.sin_family = AF_INET;
>       if (ports == ips) /* no address */
>         new->local_addr.sin_addr.s_addr = htonl(INADDR_ANY);

-- 
chuck
Chuck Murcko
The Topsail Group, West Chester PA USA
chuck@topsail.org

Mime
View raw message