From: Dmitry Volyntsev Date: Wed, 30 May 2018 14:17:13 +0000 (+0300) Subject: Fixed the format specifier for ctx->status in debug log. X-Git-Tag: 0.2.1~2 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=497d014e28c9d4eb8ad8afbaf745b4db036092e5;p=njs.git Fixed the format specifier for ctx->status in debug log. --- diff --git a/nginx/ngx_http_js_module.c b/nginx/ngx_http_js_module.c index b0e3ec69..3572a4cc 100644 --- a/nginx/ngx_http_js_module.c +++ b/nginx/ngx_http_js_module.c @@ -694,7 +694,7 @@ ngx_http_js_content_event_handler(ngx_http_request_t *r) } ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, - "http js content rc: %ui", ctx->status); + "http js content rc: %i", ctx->status); ngx_http_finalize_request(r, ctx->status); } @@ -715,7 +715,7 @@ ngx_http_js_content_write_event_handler(ngx_http_request_t *r) if (!njs_vm_pending(ctx->vm)) { ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, - "http js content rc: %ui", ctx->status); + "http js content rc: %i", ctx->status); ngx_http_finalize_request(r, ctx->status); return;