summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_cycle.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-02-01 15:07:23 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-02-01 15:07:23 +0300
commit8942550b13515e54aff9d682bec3da45ade26e18 (patch)
tree17e36260cfc5519d2aaa89dbffc7bcbd63687f9d /src/nxt_cycle.c
parentd4d36c65fa14dabeb029b3e6157d85672ac176ad (diff)
downloadunit-8942550b13515e54aff9d682bec3da45ade26e18.tar.gz
unit-8942550b13515e54aff9d682bec3da45ade26e18.tar.bz2
More refactoring relicts removed.
Diffstat (limited to 'src/nxt_cycle.c')
-rw-r--r--src/nxt_cycle.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nxt_cycle.c b/src/nxt_cycle.c
index 4b19f9da..7be529fa 100644
--- a/src/nxt_cycle.c
+++ b/src/nxt_cycle.c
@@ -59,7 +59,7 @@ nxt_thread_declare_data(nxt_cycle_t *, nxt_thread_cycle_data);
nxt_int_t
nxt_cycle_create(nxt_thread_t *thr, nxt_task_t *task, nxt_cycle_t *previous,
- nxt_cycle_cont_t start, nxt_str_t *config_name)
+ nxt_cycle_cont_t start)
{
nxt_int_t ret;
nxt_cycle_t *cycle;
@@ -78,7 +78,6 @@ nxt_cycle_create(nxt_thread_t *thr, nxt_task_t *task, nxt_cycle_t *previous,
cycle->mem_pool = mp;
cycle->previous = previous;
- cycle->config_name = config_name;
if (previous == NULL) {
cycle->prefix = nxt_current_directory(mp);
@@ -803,7 +802,7 @@ nxt_cycle_conf_init(nxt_thread_t *thr, nxt_cycle_t *cycle)
cycle->auxiliary_threads = 2;
cycle->user_cred.user = "nobody";
cycle->group = NULL;
- cycle->pid = "nginman.pid";
+ cycle->pid = "nginext.pid";
cycle->error_log = "error.log";
if (nxt_cycle_conf_read_cmd(thr, cycle) != NXT_OK) {