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 | |
parent | 511a0fa7605e61f90e524edfbcbefa230573e32f (diff) | |
download | unit-903ee2de6419cd2b0a29c4f3017a6795dd168741.tar.gz unit-903ee2de6419cd2b0a29c4f3017a6795dd168741.tar.bz2 |
Misspelled variable names fixed.
Diffstat (limited to 'src')
-rw-r--r-- | src/nxt_main_process.c | 2 | ||||
-rw-r--r-- | src/nxt_port.c | 2 | ||||
-rw-r--r-- | src/nxt_process.c | 6 | ||||
-rw-r--r-- | src/nxt_process.h | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c index 31e7ca9a..0ecac06a 100644 --- a/src/nxt_main_process.c +++ b/src/nxt_main_process.c @@ -899,7 +899,7 @@ nxt_main_cleanup_worker_process(nxt_task_t *task, nxt_pid_t pid) port = nxt_process_port_first(process); - if (nxt_proc_remove_notify_martix[ptype][port->type] == 0) { + if (nxt_proc_remove_notify_matrix[ptype][port->type] == 0) { continue; } diff --git a/src/nxt_port.c b/src/nxt_port.c index c4b2af96..3d18fa67 100644 --- a/src/nxt_port.c +++ b/src/nxt_port.c @@ -195,7 +195,7 @@ nxt_port_send_new_port(nxt_task_t *task, nxt_runtime_t *rt, port = nxt_process_port_first(process); - if (nxt_proc_conn_martix[port->type][new_port->type]) { + if (nxt_proc_conn_matrix[port->type][new_port->type]) { (void) nxt_port_send_port(task, port, new_port, stream); } 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); diff --git a/src/nxt_process.h b/src/nxt_process.h index 1a36d9df..c6e19f97 100644 --- a/src/nxt_process.h +++ b/src/nxt_process.h @@ -72,9 +72,9 @@ typedef struct { } nxt_process_t; -extern nxt_bool_t nxt_proc_conn_martix[NXT_PROCESS_MAX][NXT_PROCESS_MAX]; +extern nxt_bool_t nxt_proc_conn_matrix[NXT_PROCESS_MAX][NXT_PROCESS_MAX]; extern nxt_bool_t - nxt_proc_remove_notify_martix[NXT_PROCESS_MAX][NXT_PROCESS_MAX]; + nxt_proc_remove_notify_matrix[NXT_PROCESS_MAX][NXT_PROCESS_MAX]; NXT_EXPORT nxt_pid_t nxt_process_create(nxt_task_t *task, nxt_process_t *process); |