comparison src/http/modules/ngx_http_limit_zone_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 b3b8c66bd520
children 23d567eabc5d
comparison
equal deleted inserted replaced
3236:9aa8fd2d5a00 3237:2efa8d2fcde1
379 { 379 {
380 ngx_http_limit_zone_conf_t *conf; 380 ngx_http_limit_zone_conf_t *conf;
381 381
382 conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_limit_zone_conf_t)); 382 conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_limit_zone_conf_t));
383 if (conf == NULL) { 383 if (conf == NULL) {
384 return NGX_CONF_ERROR; 384 return NULL;
385 } 385 }
386 386
387 /* 387 /*
388 * set by ngx_pcalloc(): 388 * set by ngx_pcalloc():
389 * 389 *