summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_master_process.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_master_process.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nxt_master_process.c b/src/nxt_master_process.c
index c35bb6b1..2bc97c1c 100644
--- a/src/nxt_master_process.c
+++ b/src/nxt_master_process.c
@@ -141,8 +141,6 @@ nxt_port_master_data_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
b = msg->buf;
nxt_debug(task, "master data: %*s", b->mem.free - b->mem.pos, b->mem.pos);
-
- b->mem.pos = b->mem.free;
}
@@ -175,7 +173,6 @@ nxt_port_master_start_worker_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
start += app_conf.name.length + 1;
conf = nxt_conf_json_parse(mp, start, b->mem.free);
- b->mem.pos = b->mem.free;
if (conf == NULL) {
nxt_log(task, NXT_LOG_CRIT, "configuration parsing error");