Improved code readability (closes #1512).

This commit is contained in:
Ruslan Ermilov 2018-03-22 18:13:33 +03:00
parent b051c9ec68
commit 60c24eef64

View file

@ -985,8 +985,8 @@ ngx_process_options(ngx_cycle_t *cycle)
p--)
{
if (ngx_path_separator(*p)) {
cycle->conf_prefix.len = p - ngx_cycle->conf_file.data + 1;
cycle->conf_prefix.data = ngx_cycle->conf_file.data;
cycle->conf_prefix.len = p - cycle->conf_file.data + 1;
cycle->conf_prefix.data = cycle->conf_file.data;
break;
}
}