[nginx] Improved code readability (closes #1512).
Ruslan Ermilov
ru at nginx.com
Thu Mar 22 15:14:52 UTC 2018
details: http://hg.nginx.org/nginx/rev/fdd6a070d518
branches:
changeset: 7248:fdd6a070d518
user: Ruslan Ermilov <ru at nginx.com>
date: Thu Mar 22 18:13:33 2018 +0300
description:
Improved code readability (closes #1512).
diffstat:
src/core/nginx.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff -r b329c0ab1a48 -r fdd6a070d518 src/core/nginx.c
--- a/src/core/nginx.c Thu Mar 22 15:56:07 2018 +0300
+++ b/src/core/nginx.c Thu Mar 22 18:13:33 2018 +0300
@@ -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;
}
}
More information about the nginx-devel
mailing list