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_conn_write.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_conn_write.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nxt_conn_write.c b/src/nxt_conn_write.c index a2a5737b..f40f9c2f 100644 --- a/src/nxt_conn_write.c +++ b/src/nxt_conn_write.c @@ -74,7 +74,7 @@ nxt_conn_io_write(nxt_task_t *task, void *obj, void *data) } while (sb.limit != 0); - nxt_debug(task, "event conn: %i sent:%z", ret, sb.sent); + nxt_debug(task, "event conn: %z sent:%O", ret, sb.sent); if (sb.sent != 0) { if (c->write_state->timer_autoreset) { @@ -178,7 +178,7 @@ nxt_conn_io_writev(nxt_task_t *task, nxt_sendbuf_t *sb, struct iovec *iov, err = (n == -1) ? nxt_socket_errno : 0; - nxt_debug(task, "writev(%d, %ui): %d", sb->socket, niov, n); + nxt_debug(task, "writev(%d, %ui): %z", sb->socket, niov, n); if (n > 0) { return n; @@ -351,7 +351,7 @@ nxt_event_conn_io_writev(nxt_conn_t *c, nxt_iobuf_t *iob, nxt_uint_t niob) err = (n == -1) ? nxt_socket_errno : 0; - nxt_debug(c->socket.task, "writev(%d, %ui): %d", c->socket.fd, niob, n); + nxt_debug(c->socket.task, "writev(%d, %ui): %z", c->socket.fd, niob, n); if (n > 0) { return n; |