comparison src/event/modules/ngx_select_module.c @ 2778:ae3cba0dbee3

style fix
author Igor Sysoev <igor@sysoev.ru>
date Wed, 29 Apr 2009 15:12:57 +0000
parents 7615a6c5fb54
children 7bb23b7d9f73
comparison
equal deleted inserted replaced
2777:7615a6c5fb54 2778:ae3cba0dbee3
246 246
247 static ngx_int_t 247 static ngx_int_t
248 ngx_select_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, 248 ngx_select_process_events(ngx_cycle_t *cycle, ngx_msec_t timer,
249 ngx_uint_t flags) 249 ngx_uint_t flags)
250 { 250 {
251 int ready, nready; 251 int ready, nready;
252 ngx_uint_t i, found; 252 ngx_err_t err;
253 ngx_err_t err; 253 ngx_uint_t i, found;
254 ngx_event_t *ev, **queue; 254 ngx_event_t *ev, **queue;
255 ngx_connection_t *c; 255 struct timeval tv, *tp;
256 struct timeval tv, *tp; 256 ngx_connection_t *c;
257 257
258 #if !(NGX_WIN32) 258 #if !(NGX_WIN32)
259 259
260 if (max_fd == -1) { 260 if (max_fd == -1) {
261 for (i = 0; i < nevents; i++) { 261 for (i = 0; i < nevents; i++) {