From 497d014e28c9d4eb8ad8afbaf745b4db036092e5 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Wed, 30 May 2018 17:17:13 +0300 Subject: [PATCH] Fixed the format specifier for ctx->status in debug log. --- nginx/ngx_http_js_module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.3