changeset 6656:a2f57dfa65a9

Fixed wrong type of the "line" field. The new type ngx_uint_t was supposed when formatting the line number.
author Roman Arutyunyan <arut@nginx.com>
date Thu, 18 Aug 2016 17:13:07 +0300
parents 873d7053efb9
children 3d5202c71f94
files src/mail/ngx_mail.h src/stream/ngx_stream.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/mail/ngx_mail.h
+++ b/src/mail/ngx_mail.h
@@ -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;
--- a/src/stream/ngx_stream.h
+++ b/src/stream/ngx_stream.h
@@ -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;