Mercurial > hg > nginx
diff src/http/ngx_http_core_module.c @ 1881:10ab4a7f92fe
fix return code
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 07 Feb 2008 08:57:07 +0000 |
parents | 9fb312cd641c |
children | 4ca7c40af923 |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -2912,7 +2912,7 @@ ngx_http_core_merge_loc_conf(ngx_conf_t if (conf->resolver == NULL) { conf->resolver = ngx_resolver_create(NULL, cf->cycle->new_log); if (conf->resolver == NULL) { - return NGX_OK; + return NGX_CONF_ERROR; } } }