summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_process.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-09-15 20:30:34 +0300
committerMax Romanov <max.romanov@nginx.com>2017-09-15 20:30:34 +0300
commit838d9946ac2d9c9a9ba41d5b88209bfc5f2325d0 (patch)
treecd6458cb2362ef2550fc5629407f5f623c11945f /src/nxt_process.c
parent1449e27cb42a5b3ca2d2106a39fee3f1d54a340e (diff)
downloadunit-838d9946ac2d9c9a9ba41d5b88209bfc5f2325d0.tar.gz
unit-838d9946ac2d9c9a9ba41d5b88209bfc5f2325d0.tar.bz2
Introducing named port message handlers to avoid misprints.
Diffstat (limited to 'src/nxt_process.c')
-rw-r--r--src/nxt_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_process.c b/src/nxt_process.c
index 186e898d..e6653bd7 100644
--- a/src/nxt_process.c
+++ b/src/nxt_process.c
@@ -161,7 +161,7 @@ nxt_process_start(nxt_task_t *task, nxt_process_t *process)
nxt_port_enable(task, port, init->port_handlers);
- ret = nxt_port_socket_write(task, main_port, NXT_PORT_MSG_READY,
+ ret = nxt_port_socket_write(task, main_port, NXT_PORT_MSG_PROCESS_READY,
-1, init->stream, 0, NULL);
if (nxt_slow_path(ret != NXT_OK)) {