diff src/event/ngx_event.c @ 367:ceec87d1c2b3

nginx-0.0.7-2004-06-24-11:53:37 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 24 Jun 2004 07:53:37 +0000
parents 239e37d44a34
children 54f76b0b8dca
line wrap: on
line diff
--- a/src/event/ngx_event.c
+++ b/src/event/ngx_event.c
@@ -264,6 +264,7 @@ static ngx_int_t ngx_event_process_init(
     c = cycle->connections;
     for (i = 0; i < cycle->connection_n; i++) {
         c[i].fd = (ngx_socket_t) -1;
+        c[i].data = NULL;
     }
 
     cycle->read_events = ngx_alloc(sizeof(ngx_event_t) * ecf->connections,