summaryrefslogtreecommitdiffhomepage
path: root/src/nginext/nxt_go_port_memory.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nginext/nxt_go_port_memory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nginext/nxt_go_port_memory.c b/src/nginext/nxt_go_port_memory.c
index 7e3f7a1a..dbdf5f73 100644
--- a/src/nginext/nxt_go_port_memory.c
+++ b/src/nginext/nxt_go_port_memory.c
@@ -112,8 +112,8 @@ nxt_go_new_port_mmap(nxt_go_process_t *process, nxt_port_id_t id)
port_msg.stream = 0;
port_msg.pid = getpid();
port_msg.reply_port = 0;
- port_msg.type = NXT_PORT_MSG_MMAP;
- port_msg.last = 0;
+ port_msg.type = _NXT_PORT_MSG_MMAP;
+ port_msg.last = 1;
port_msg.mmap = 0;
cmsg.cm.cmsg_len = CMSG_LEN(sizeof(int));