diff options
Diffstat (limited to 'src/nxt_port.c')
-rw-r--r-- | src/nxt_port.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nxt_port.c b/src/nxt_port.c index 681fec39..18dc4121 100644 --- a/src/nxt_port.c +++ b/src/nxt_port.c @@ -225,7 +225,6 @@ nxt_port_new_port_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg) rt = task->thread->runtime; new_port_msg = (nxt_port_msg_new_port_t *) msg->buf->mem.pos; - msg->buf->mem.pos = msg->buf->mem.free; nxt_debug(task, "new port %d received for process %PI:%d", msg->fd, new_port_msg->pid, new_port_msg->id); @@ -405,8 +404,6 @@ nxt_port_data_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg) } nxt_debug(task, "data: %*s", dump_size, b->mem.pos); - - b->mem.pos = b->mem.free; } |