March 22, 2018 11:16AM
details: http://hg.nginx.org/nginx/rev/fdd6a070d518
branches:
changeset: 7248:fdd6a070d518
user: Ruslan Ermilov <ru@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;
}
}
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Improved code readability (closes #1512).

ru@nginx.com 734 March 22, 2018 11:16AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 282
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready