]> git.kaiwu.me - nginx.git/commitdiff
Fixed wrong type of the "line" field.
authorRoman Arutyunyan <arut@nginx.com>
Thu, 18 Aug 2016 14:13:07 +0000 (17:13 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Thu, 18 Aug 2016 14:13:07 +0000 (17:13 +0300)
The new type ngx_uint_t was supposed when formatting the line number.

src/mail/ngx_mail.h
src/stream/ngx_stream.h

index ae1aa417a3fcd105f73be6829d38e6b478872a85..57a987e8d84f5548cc776f472c91b551fd34de9e 100644 (file)
@@ -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;
index 807ab5b0820a6a6994e5cc571aad251275a2ce81..75b784a9eac57483a7c8495d8f3a14e09a83825d 100644 (file)
@@ -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;