diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2018-01-24 15:16:33 +0300 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2018-01-24 15:16:33 +0300 |
commit | 771e9d3cc3a59585a3d8a6ae2baddb18f335c3dd (patch) | |
tree | e50d2d18f95dec00f7f643dcf6251c1baa44e7b8 /src/nxt_router.c | |
parent | 67c64a99fb78f48c3deacc7d89e73de72522806b (diff) | |
download | unit-771e9d3cc3a59585a3d8a6ae2baddb18f335c3dd.tar.gz unit-771e9d3cc3a59585a3d8a6ae2baddb18f335c3dd.tar.bz2 |
Fixed formatting in nxt_sprintf() and logging.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_router.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c index a2effb57..1ba7072d 100644 --- a/src/nxt_router.c +++ b/src/nxt_router.c @@ -711,7 +711,7 @@ nxt_router_conf_data_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg) return; } - nxt_debug(task, "nxt_router_conf_data_handler(%d): %*s", + nxt_debug(task, "nxt_router_conf_data_handler(%O): %*s", nxt_buf_used_size(msg->buf), (size_t) nxt_buf_used_size(msg->buf), msg->buf->mem.pos); @@ -2391,7 +2391,7 @@ nxt_router_response_ready_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg, dump_size = 300; } - nxt_debug(task, "%srouter app data (%z): %*s", + nxt_debug(task, "%srouter app data (%uz): %*s", msg->port_msg.last ? "last " : "", msg->size, dump_size, b->mem.pos); @@ -3227,7 +3227,7 @@ nxt_router_app_prepare_request(nxt_task_t *task, nxt_req_app_link_t *ra) goto release_port; } - nxt_debug(task, "about to send %d bytes buffer to worker port %d", + nxt_debug(task, "about to send %O bytes buffer to worker port %d", nxt_buf_used_size(wmsg.write), wmsg.port->socket.fd); |