diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-02-01 15:07:23 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-02-01 15:07:23 +0300 |
commit | 8942550b13515e54aff9d682bec3da45ade26e18 (patch) | |
tree | 17e36260cfc5519d2aaa89dbffc7bcbd63687f9d /src/nxt_main.c | |
parent | d4d36c65fa14dabeb029b3e6157d85672ac176ad (diff) | |
download | unit-8942550b13515e54aff9d682bec3da45ade26e18.tar.gz unit-8942550b13515e54aff9d682bec3da45ade26e18.tar.bz2 |
More refactoring relicts removed.
Diffstat (limited to 'src/nxt_main.c')
-rw-r--r-- | src/nxt_main.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/nxt_main.c b/src/nxt_main.c index 76cbc0bb..4219fdea 100644 --- a/src/nxt_main.c +++ b/src/nxt_main.c @@ -17,9 +17,7 @@ main(int argc, char **argv) nxt_int_t ret; nxt_thread_t *thr; - static nxt_str_t nxt_config_name = nxt_string_zero("nginx.conf"); - - if (nxt_lib_start("nginman", argv, &environ) != NXT_OK) { + if (nxt_lib_start("nginext", argv, &environ) != NXT_OK) { return 1; } @@ -30,9 +28,9 @@ main(int argc, char **argv) nxt_main_log.handler = nxt_log_time_handler; - nxt_log_error(NXT_LOG_INFO, thr->log, "nginman started"); + nxt_log_error(NXT_LOG_INFO, thr->log, "nginext started"); - ret = nxt_cycle_create(thr, &nxt_main_task, NULL, NULL, &nxt_config_name); + ret = nxt_cycle_create(thr, &nxt_main_task, NULL, NULL); if (ret != NXT_OK) { return 1; |