diff options
Diffstat (limited to 'src/nxt_master_process.c')
-rw-r--r-- | src/nxt_master_process.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/nxt_master_process.c b/src/nxt_master_process.c index bb0e4f32..0df32631 100644 --- a/src/nxt_master_process.c +++ b/src/nxt_master_process.c @@ -148,11 +148,8 @@ static nxt_conf_map_t nxt_common_app_conf[] = { static void nxt_port_master_data_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg) { - nxt_buf_t *b; - - b = msg->buf; - - nxt_debug(task, "master data: %*s", b->mem.free - b->mem.pos, b->mem.pos); + nxt_debug(task, "master data: %*s", + nxt_buf_mem_used_size(&msg->buf->mem), msg->buf->mem.pos); } |