mirror of
https://github.com/nginx/nginx.git
synced 2026-10-21 19:41:35 +00:00
fix return code
This commit is contained in:
parent
18be913cb6
commit
d2d673a8f9
1 changed files with 1 additions and 1 deletions
|
|
@ -2912,7 +2912,7 @@ ngx_http_core_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
|
|||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue