Mercurial > hg > nginx
diff src/http/modules/perl/ngx_http_perl_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 | 8e720b7fe6d2 |
children | f54b02dbb12b 8254055b6693 |
line wrap: on
line diff
--- a/src/http/modules/perl/ngx_http_perl_module.c Mon Oct 26 15:46:59 2009 +0000 +++ b/src/http/modules/perl/ngx_http_perl_module.c Mon Oct 26 15:54:29 2009 +0000 @@ -784,7 +784,7 @@ pmcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_perl_main_conf_t)); if (pmcf == NULL) { - return NGX_CONF_ERROR; + return NULL; } if (ngx_array_init(&pmcf->requires, cf->pool, 1, sizeof(u_char *)) @@ -869,7 +869,7 @@ plcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_perl_loc_conf_t)); if (plcf == NULL) { - return NGX_CONF_ERROR; + return NULL; } /*