ben 96/08/08 05:24:50
Modified: src http_core.c
Log:
Set listener fds to -1 on creation.
Revision Changes Path
1.29 +1 -0 apache/src/http_core.c
Index: http_core.c
===================================================================
RCS file: /export/home/cvs/apache/src/http_core.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -C3 -r1.28 -r1.29
*** http_core.c 1996/08/02 20:39:13 1.28
--- http_core.c 1996/08/08 12:24:49 1.29
***************
*** 998,1003 ****
--- 998,1004 ----
else
new->local_addr.sin_addr.s_addr = get_virthost_addr(ips, NULL);
new->local_addr.sin_port = htons(atoi(ports));
+ new->fd = -1;
new->next = listeners;
listeners = new;
return NULL;