mirror of
https://github.com/nginx/nginx.git
synced 2026-06-27 20:31:58 +00:00
Core: fixed error handling on ngx_conf_full_name() failure.
This commit is contained in:
parent
8c82b75127
commit
eed7d47930
1 changed files with 1 additions and 1 deletions
|
|
@ -356,7 +356,7 @@ ngx_conf_set_path_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
|||
}
|
||||
|
||||
if (ngx_conf_full_name(cf->cycle, &path->name, 0) != NGX_OK) {
|
||||
return NULL;
|
||||
return NGX_CONF_ERROR;
|
||||
}
|
||||
|
||||
path->conf_file = cf->conf_file->file.name.data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue