comparison src/http/modules/ngx_http_index_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 09cab3f8d92e
children a7637c2c1157
comparison
equal deleted inserted replaced
3236:9aa8fd2d5a00 3237:2efa8d2fcde1
364 { 364 {
365 ngx_http_index_loc_conf_t *conf; 365 ngx_http_index_loc_conf_t *conf;
366 366
367 conf = ngx_palloc(cf->pool, sizeof(ngx_http_index_loc_conf_t)); 367 conf = ngx_palloc(cf->pool, sizeof(ngx_http_index_loc_conf_t));
368 if (conf == NULL) { 368 if (conf == NULL) {
369 return NGX_CONF_ERROR; 369 return NULL;
370 } 370 }
371 371
372 conf->indices = NULL; 372 conf->indices = NULL;
373 conf->max_index_len = 0; 373 conf->max_index_len = 0;
374 374