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

Roman Arutyunyan arut at nginx.com
Thu Aug 18 14:15:28 UTC 2016


details:   http://hg.nginx.org/nginx/rev/a2f57dfa65a9
branches:  
changeset: 6656:a2f57dfa65a9
user:      Roman Arutyunyan <arut at 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;
 



More information about the nginx-devel mailing list