summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conn_write.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_conn_write.c6
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;