summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_application.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_application.c
parent946867febe29568418bfa146518ff7f97072dd67 (diff)
downloadunit-9d487df10df5000a84c9c1a75fff0cff525d4454.tar.gz
unit-9d487df10df5000a84c9c1a75fff0cff525d4454.tar.bz2
The master process has been renamed to the main process.
Diffstat (limited to 'src/nxt_application.c')
-rw-r--r--src/nxt_application.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_application.c b/src/nxt_application.c
index 23182401..dc23c0d7 100644
--- a/src/nxt_application.c
+++ b/src/nxt_application.c
@@ -9,7 +9,7 @@
#include <nxt_main.h>
#include <nxt_runtime.h>
#include <nxt_application.h>
-#include <nxt_master_process.h>
+#include <nxt_main_process.h>
#include <glob.h>
@@ -50,7 +50,7 @@ nxt_discovery_start(nxt_task_t *task, void *data)
b = nxt_discovery_modules(task, rt->modules);
- main_port = rt->port_by_type[NXT_PROCESS_MASTER];
+ main_port = rt->port_by_type[NXT_PROCESS_MAIN];
nxt_port_socket_write(task, main_port, NXT_PORT_MSG_MODULES, -1,
0, -1, b);