Welcome! Log In Create A New Profile

Advanced

[nginx] Use %s for errors returned from configuration parsing handlers.

January 31, 2019 10:34AM
details: https://hg.nginx.org/nginx/rev/d864ee67b5ae
branches:
changeset: 7451:d864ee67b5ae
user: Ruslan Ermilov <ru@nginx.com>
date: Tue Dec 25 15:26:58 2018 +0300
description:
Use %s for errors returned from configuration parsing handlers.

diffstat:

src/core/ngx_conf_file.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 2d9ab7717e23 -r d864ee67b5ae src/core/ngx_conf_file.c
--- a/src/core/ngx_conf_file.c Wed Jan 30 19:28:27 2019 +0300
+++ b/src/core/ngx_conf_file.c Tue Dec 25 15:26:58 2018 +0300
@@ -310,7 +310,7 @@ ngx_conf_parse(ngx_conf_t *cf, ngx_str_t
goto failed;
}

- ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, rv);
+ ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%s", rv);

goto failed;
}
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Use %s for errors returned from configuration parsing handlers.

ru@nginx.com 147 January 31, 2019 10:34AM



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

Online Users

Guests: 90
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready