diff options
author | Max Romanov <max.romanov@nginx.com> | 2018-09-07 18:45:14 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2018-09-07 18:45:14 +0300 |
commit | 903ee2de6419cd2b0a29c4f3017a6795dd168741 (patch) | |
tree | dcc76b8d7bbeff8137dc1ecb123b1e246a23dbd2 /src/nxt_process.c | |
parent | 511a0fa7605e61f90e524edfbcbefa230573e32f (diff) | |
download | unit-903ee2de6419cd2b0a29c4f3017a6795dd168741.tar.gz unit-903ee2de6419cd2b0a29c4f3017a6795dd168741.tar.bz2 |
Misspelled variable names fixed.
Diffstat (limited to 'src/nxt_process.c')
-rw-r--r-- | src/nxt_process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nxt_process.c b/src/nxt_process.c index 3f9de6fb..f51de42e 100644 --- a/src/nxt_process.c +++ b/src/nxt_process.c @@ -18,7 +18,7 @@ nxt_pid_t nxt_pid; /* An original parent process pid. */ nxt_pid_t nxt_ppid; -nxt_bool_t nxt_proc_conn_martix[NXT_PROCESS_MAX][NXT_PROCESS_MAX] = { +nxt_bool_t nxt_proc_conn_matrix[NXT_PROCESS_MAX][NXT_PROCESS_MAX] = { { 1, 1, 1, 1, 1 }, { 1, 0, 0, 0, 0 }, { 1, 0, 0, 1, 0 }, @@ -26,7 +26,7 @@ nxt_bool_t nxt_proc_conn_martix[NXT_PROCESS_MAX][NXT_PROCESS_MAX] = { { 1, 0, 0, 0, 0 }, }; -nxt_bool_t nxt_proc_remove_notify_martix[NXT_PROCESS_MAX][NXT_PROCESS_MAX] = { +nxt_bool_t nxt_proc_remove_notify_matrix[NXT_PROCESS_MAX][NXT_PROCESS_MAX] = { { 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0 }, { 0, 0, 0, 1, 0 }, @@ -71,7 +71,7 @@ nxt_process_create(nxt_task_t *task, nxt_process_t *process) /* Remove not ready processes */ nxt_runtime_process_each(rt, p) { - if (nxt_proc_conn_martix[ptype][nxt_process_type(p)] == 0) { + if (nxt_proc_conn_matrix[ptype][nxt_process_type(p)] == 0) { nxt_debug(task, "remove not required process %PI", p->pid); nxt_process_close_ports(task, p); |