Mercurial > hg > nginx-quic
comparison 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 |
comparison
equal
deleted
inserted
replaced
366:e411b1482ee3 | 367:ceec87d1c2b3 |
---|---|
262 } | 262 } |
263 | 263 |
264 c = cycle->connections; | 264 c = cycle->connections; |
265 for (i = 0; i < cycle->connection_n; i++) { | 265 for (i = 0; i < cycle->connection_n; i++) { |
266 c[i].fd = (ngx_socket_t) -1; | 266 c[i].fd = (ngx_socket_t) -1; |
267 c[i].data = NULL; | |
267 } | 268 } |
268 | 269 |
269 cycle->read_events = ngx_alloc(sizeof(ngx_event_t) * ecf->connections, | 270 cycle->read_events = ngx_alloc(sizeof(ngx_event_t) * ecf->connections, |
270 cycle->log); | 271 cycle->log); |
271 if (cycle->read_events == NULL) { | 272 if (cycle->read_events == NULL) { |