Welcome! Log In Create A New Profile

Advanced

[nginx] Fixed wrong type of the "line" field.

Roman Arutyunyan
August 18, 2016 10:16AM
details: http://hg.nginx.org/nginx/rev/a2f57dfa65a9
branches:
changeset: 6656:a2f57dfa65a9
user: Roman Arutyunyan <arut@nginx.com>
date: Thu Aug 18 17:13:07 2016 +0300
description:
Fixed wrong type of the "line" field.

The new type ngx_uint_t was supposed when formatting the line number.

diffstat:

src/mail/ngx_mail.h | 2 +-
src/stream/ngx_stream.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 873d7053efb9 -r a2f57dfa65a9 src/mail/ngx_mail.h
--- a/src/mail/ngx_mail.h Thu Aug 18 17:11:03 2016 +0300
+++ b/src/mail/ngx_mail.h Thu Aug 18 17:13:07 2016 +0300
@@ -117,7 +117,7 @@ typedef struct {
ngx_str_t server_name;

u_char *file_name;
- ngx_int_t line;
+ ngx_uint_t line;

ngx_resolver_t *resolver;
ngx_log_t *error_log;
diff -r 873d7053efb9 -r a2f57dfa65a9 src/stream/ngx_stream.h
--- a/src/stream/ngx_stream.h Thu Aug 18 17:11:03 2016 +0300
+++ b/src/stream/ngx_stream.h Thu Aug 18 17:13:07 2016 +0300
@@ -136,7 +136,7 @@ typedef struct {
ngx_stream_conf_ctx_t *ctx;

u_char *file_name;
- ngx_int_t line;
+ ngx_uint_t line;

ngx_flag_t tcp_nodelay;


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

[nginx] Fixed wrong type of the "line" field.

Roman Arutyunyan 516 August 18, 2016 10:16AM



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

Online Users

Guests: 232
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