comparison src/event/modules/ngx_select_module.c @ 5355:32847478c2c1

Added the NGX_EBADF define.
author Valentin Bartenev <vbart@nginx.com>
date Mon, 02 Sep 2013 08:07:44 +0400
parents d620f497c50f
children ecfc601f1225
comparison
equal deleted inserted replaced
5354:62be77b0608f 5355:32847478c2c1
286 level = NGX_LOG_ALERT; 286 level = NGX_LOG_ALERT;
287 } 287 }
288 288
289 ngx_log_error(level, cycle->log, err, "select() failed"); 289 ngx_log_error(level, cycle->log, err, "select() failed");
290 290
291 if (err == EBADF) { 291 if (err == NGX_EBADF) {
292 ngx_select_repair_fd_sets(cycle); 292 ngx_select_repair_fd_sets(cycle);
293 } 293 }
294 294
295 return NGX_ERROR; 295 return NGX_ERROR;
296 } 296 }