diff options
author | Dmitry Volyntsev <xeioex@nginx.com> | 2018-05-30 17:17:13 +0300 |
---|---|---|
committer | Dmitry Volyntsev <xeioex@nginx.com> | 2018-05-30 17:17:13 +0300 |
commit | 497d014e28c9d4eb8ad8afbaf745b4db036092e5 (patch) | |
tree | 6b3c77a9453f9dd90b3d228410f9f26ca503367a /nginx/ngx_http_js_module.c | |
parent | 626aacf89507aa425ced07924fb73504ac027d0e (diff) | |
download | njs-497d014e28c9d4eb8ad8afbaf745b4db036092e5.tar.gz njs-497d014e28c9d4eb8ad8afbaf745b4db036092e5.zip |
Fixed the format specifier for ctx->status in debug log.
Diffstat (limited to 'nginx/ngx_http_js_module.c')
-rw-r--r-- | nginx/ngx_http_js_module.c | 4 |
1 files 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; |