[nginx] Fixed type.

Maxim Dounin mdounin at mdounin.ru
Mon Apr 3 16:47:28 UTC 2017


details:   http://hg.nginx.org/nginx/rev/5d3d9b52327d
branches:  
changeset: 6964:5d3d9b52327d
user:      hucongcong <hucong.c at foxmail.com>
date:      Mon Apr 03 14:29:40 2017 +0800
description:
Fixed type.

diffstat:

 src/http/ngx_http_request.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -2612,7 +2612,7 @@ ngx_http_set_write_handler(ngx_http_requ
 static void
 ngx_http_writer(ngx_http_request_t *r)
 {
-    int                        rc;
+    ngx_int_t                  rc;
     ngx_event_t               *wev;
     ngx_connection_t          *c;
     ngx_http_core_loc_conf_t  *clcf;
@@ -2652,7 +2652,7 @@ ngx_http_writer(ngx_http_request_t *r)
     rc = ngx_http_output_filter(r, NULL);
 
     ngx_log_debug3(NGX_LOG_DEBUG_HTTP, c->log, 0,
-                   "http writer output filter: %d, \"%V?%V\"",
+                   "http writer output filter: %i, \"%V?%V\"",
                    rc, &r->uri, &r->args);
 
     if (rc == NGX_ERROR) {


More information about the nginx-devel mailing list