summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_request.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_http_request.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nxt_http_request.c b/src/nxt_http_request.c
index 270ebba7..9c7d4451 100644
--- a/src/nxt_http_request.c
+++ b/src/nxt_http_request.c
@@ -375,7 +375,8 @@ nxt_http_request_close_handler(nxt_task_t *task, void *obj, void *data)
r->logged = 1;
// STUB
nxt_debug(task, "http request log: \"%*s \"%V %V %V\" %d\"",
- r->remote->address_length, nxt_sockaddr_address(r->remote),
+ (size_t) r->remote->address_length,
+ nxt_sockaddr_address(r->remote),
r->method, &r->target, &r->version, r->status);
}