comparison src/event/modules/ngx_eventport_module.c @ 3237:2efa8d2fcde1 stable-0.7

merge r2903, r2911, r2912, r3002: fix various failures handling
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Oct 2009 15:54:29 +0000
parents 6e7daf852eec
children d4c4cfdffe30 e1409e56ba7c
comparison
equal deleted inserted replaced
3236:9aa8fd2d5a00 3237:2efa8d2fcde1
579 { 579 {
580 ngx_eventport_conf_t *epcf; 580 ngx_eventport_conf_t *epcf;
581 581
582 epcf = ngx_palloc(cycle->pool, sizeof(ngx_eventport_conf_t)); 582 epcf = ngx_palloc(cycle->pool, sizeof(ngx_eventport_conf_t));
583 if (epcf == NULL) { 583 if (epcf == NULL) {
584 return NGX_CONF_ERROR; 584 return NULL;
585 } 585 }
586 586
587 epcf->events = NGX_CONF_UNSET; 587 epcf->events = NGX_CONF_UNSET;
588 588
589 return epcf; 589 return epcf;