summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_cycle.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-02-01 20:03:45 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-02-01 20:03:45 +0300
commite57b95a92333fa7ff558737b0ba2b76894cc0412 (patch)
treeb2de846a4fd958517be379b552f38652dd6d9078 /src/nxt_cycle.c
parent6e67bee0f4f96ad0a7d1a231dfdae8431714c66a (diff)
downloadunit-e57b95a92333fa7ff558737b0ba2b76894cc0412.tar.gz
unit-e57b95a92333fa7ff558737b0ba2b76894cc0412.tar.bz2
Process channels have been renamed to ports.
Diffstat (limited to '')
-rw-r--r--src/nxt_cycle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nxt_cycle.c b/src/nxt_cycle.c
index c18089a4..447f0b37 100644
--- a/src/nxt_cycle.c
+++ b/src/nxt_cycle.c
@@ -7,7 +7,7 @@
#include <nxt_main.h>
#include <nxt_cycle.h>
-#include <nxt_process_chan.h>
+#include <nxt_port.h>
#include <nxt_master_process.h>
@@ -344,7 +344,7 @@ static nxt_int_t
nxt_cycle_processes(nxt_cycle_t *cycle)
{
nxt_uint_t n;
- nxt_process_chan_t *proc, *prev;
+ nxt_process_port_t *proc, *prev;
/*
* Preallocate double number of previous cycle
@@ -353,7 +353,7 @@ nxt_cycle_processes(nxt_cycle_t *cycle)
n = (cycle->previous != NULL) ? cycle->previous->processes->nelts : 1;
cycle->processes = nxt_array_create(cycle->mem_pool, 2 * n,
- sizeof(nxt_process_chan_t));
+ sizeof(nxt_process_port_t));
if (nxt_slow_path(cycle->processes == NULL)) {
return NXT_ERROR;