summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-08-29 02:59:35 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-08-29 02:59:35 +0300
commit9d487df10df5000a84c9c1a75fff0cff525d4454 (patch)
tree68096193339f4a25bfac7d79f5c0a218f74bec7b /src/nxt_port.c
parent946867febe29568418bfa146518ff7f97072dd67 (diff)
downloadunit-9d487df10df5000a84c9c1a75fff0cff525d4454.tar.gz
unit-9d487df10df5000a84c9c1a75fff0cff525d4454.tar.bz2
The master process has been renamed to the main process.
Diffstat (limited to '')
-rw-r--r--src/nxt_port.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_port.c b/src/nxt_port.c
index 358e30f2..1f50caa1 100644
--- a/src/nxt_port.c
+++ b/src/nxt_port.c
@@ -178,7 +178,7 @@ nxt_port_send_new_port(nxt_task_t *task, nxt_runtime_t *rt,
port = nxt_process_port_first(process);
- if (port->type == NXT_PROCESS_MASTER ||
+ if (port->type == NXT_PROCESS_MAIN ||
port->type == NXT_PROCESS_CONTROLLER ||
port->type == NXT_PROCESS_ROUTER) {
@@ -280,7 +280,7 @@ nxt_port_ready_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg)
rt = task->thread->runtime;
- nxt_assert(nxt_runtime_is_master(rt));
+ nxt_assert(nxt_runtime_is_main(rt));
process = nxt_runtime_process_get(rt, msg->port_msg.pid);
if (nxt_slow_path(process == NULL)) {