httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <ra...@zyzzyva.com>
Subject [PATCH] clear memory allocated for listeners
Date Fri, 07 Mar 1997 20:04:00 GMT

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);





Mime
View raw message