commit | d2d673a8f9b07f786b7b7594f7392ca4ad57f1b2 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Thu Feb 07 08:57:07 2008 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Thu Feb 07 08:57:07 2008 +0000 |
tree | 57fcadcb85ddfbf01096196cfc188f19a5bfe4c3 | |
parent | 18be913cb6036c12b40914f3e9e9b0181044bbf7 [diff] [blame] |
fix return code
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 574e925..84d8cc1 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -2912,7 +2912,7 @@ 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; } } }