aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2016-08-18 17:13:07 +0300
committerRoman Arutyunyan <arut@nginx.com>2016-08-18 17:13:07 +0300
commiteecc68ce1787a519e4cf195f12c887d7d2ba9b0a (patch)
tree1e475e66e559982476140240b39aa4932e24d1ed /src
parent535550b406b0f6db18697247c3c132ed502cdd46 (diff)
downloadnginx-eecc68ce1787a519e4cf195f12c887d7d2ba9b0a.tar.gz
nginx-eecc68ce1787a519e4cf195f12c887d7d2ba9b0a.zip
Fixed wrong type of the "line" field.
The new type ngx_uint_t was supposed when formatting the line number.
Diffstat (limited to 'src')
-rw-r--r--src/mail/ngx_mail.h2
-rw-r--r--src/stream/ngx_stream.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mail/ngx_mail.h b/src/mail/ngx_mail.h
index ae1aa417a..57a987e8d 100644
--- 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;
diff --git a/src/stream/ngx_stream.h b/src/stream/ngx_stream.h
index 807ab5b08..75b784a9e 100644
--- 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;