Mercurial > hg > nginx-quic
comparison src/event/modules/ngx_poll_module.c @ 107:b5be4b0448d3
nginx-0.0.1-2003-07-01-19:00:03 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 01 Jul 2003 15:00:03 +0000 |
parents | 7e86d028d8f0 |
children | ac69ab96328d |
comparison
equal
deleted
inserted
replaced
106:9f9de4deda7e | 107:b5be4b0448d3 |
---|---|
56 | 56 |
57 static int ngx_poll_init(ngx_log_t *log) | 57 static int ngx_poll_init(ngx_log_t *log) |
58 { | 58 { |
59 ngx_event_conf_t *ecf; | 59 ngx_event_conf_t *ecf; |
60 | 60 |
61 ecf = ngx_event_get_conf(ngx_event_module); | 61 ecf = ngx_event_get_conf(ngx_event_core_module); |
62 | 62 |
63 ngx_test_null(event_list, | 63 ngx_test_null(event_list, |
64 ngx_alloc(sizeof(struct pollfd) * ecf->connections, log), | 64 ngx_alloc(sizeof(struct pollfd) * ecf->connections, log), |
65 NGX_ERROR); | 65 NGX_ERROR); |
66 | 66 |