diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Main.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/Main.cc b/src/Main.cc index 32b7cf8..baf55d4 100644 --- a/src/Main.cc +++ b/src/Main.cc @@ -47,20 +47,16 @@ const char * Balau::MainTask::getName() const { return "Main Task"; } -int Balau::Main::bootstrap(int _argc, char ** _argv) { +int Balau::Main::bootstrap(int argc, char ** argv) { int r = 0; m_status = STARTING; - argc = _argc; - argv = _argv; - enve = NULL; - for (AtStart * ptr = AtStart::s_head; ptr; ptr = ptr->m_next) ptr->doStart(); try { m_status = RUNNING; - TaskMan::registerTask(new MainTask()); + TaskMan::registerTask(new MainTask(argc, argv, NULL)); r = TaskMan::getDefaultTaskMan()->mainLoop(); m_status = STOPPING; } |