From ed2492a66afdf578d1e4f99dc098ab685607b3ba Mon Sep 17 00:00:00 2001 From: Tiago Natel Date: Fri, 6 Dec 2019 13:28:05 +0000 Subject: Moved credential-related code to nxt_credential.c. This is required to avoid include cycles, as some nxt_clone_* functions depend on the credential structures, but nxt_process depends on clone structures. --- src/nxt_runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_runtime.c') diff --git a/src/nxt_runtime.c b/src/nxt_runtime.c index afd2cb66..80b25c1b 100644 --- a/src/nxt_runtime.c +++ b/src/nxt_runtime.c @@ -705,7 +705,7 @@ nxt_runtime_conf_init(nxt_task_t *task, nxt_runtime_t *rt) } if (rt->capabilities.setid) { - ret = nxt_user_cred_get(task, rt->mem_pool, &rt->user_cred, + ret = nxt_credential_get(task, rt->mem_pool, &rt->user_cred, rt->group); if (nxt_slow_path(ret != NXT_OK)) { -- cgit