summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhucongcong <hucong.c@foxmail.com>2017-04-03 14:29:40 +0800
committerhucongcong <hucong.c@foxmail.com>2017-04-03 14:29:40 +0800
commit9ac9fe2f3ec82455aa561027e91d380d2db0f3af (patch)
tree2f520c53ac327d5c6a04a76276025974d112b53e
parentc31239ffb46586a00e60d957c844ffe63b138144 (diff)
Fixed type.
-rw-r--r--src/http/ngx_http_request.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 8619552ee..476f03984 100644
--- 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_request_t *r)
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) {