summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port.c
diff options
context:
space:
mode:
authorTiago Natel <t.nateldemoura@f5.com>2019-11-26 16:26:24 +0000
committerTiago Natel <t.nateldemoura@f5.com>2019-11-26 16:26:24 +0000
commit417cc7be7c0c6f6e62f0916f671bbf0a4460226b (patch)
tree1ca53595fb350ab3d9acab11965bcc98606741f7 /src/nxt_port.c
parenta3e5d095016166a78a45c9aade2b19d75d66833f (diff)
downloadunit-417cc7be7c0c6f6e62f0916f671bbf0a4460226b.tar.gz
unit-417cc7be7c0c6f6e62f0916f671bbf0a4460226b.tar.bz2
Refactor of process init.
Introduces the functions nxt_process_init_create() and nxt_process_init_creds_set().
Diffstat (limited to 'src/nxt_port.c')
-rw-r--r--src/nxt_port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_port.c b/src/nxt_port.c
index 8d14a5e7..70cf33e6 100644
--- a/src/nxt_port.c
+++ b/src/nxt_port.c
@@ -140,7 +140,7 @@ nxt_port_reset_next_id()
void
nxt_port_enable(nxt_task_t *task, nxt_port_t *port,
- nxt_port_handlers_t *handlers)
+ const nxt_port_handlers_t *handlers)
{
port->pid = nxt_pid;
port->handler = nxt_port_handler;