--- smsdaemon/Common.cpp 2008/12/18 06:47:26 195 +++ smsdaemon/Common.cpp 2008/12/18 06:53:29 196 @@ -24,7 +24,7 @@ Common::Common() - : _pluginManager(0), _taskManager(0) + : _pluginManager(0), _taskManager(0) { _pluginManager = new PluginManager(); _taskManager = new TaskManager(); @@ -70,7 +70,7 @@ cout << " --debug : Run as normal (frontground) process," << endl; cout << " with all messages written to std out" << endl; cout << " --config : Specify which config file to use " << endl; - cout << " default" << configFilePath << endl; + cout << " default" << configFilePath << endl; cout << " --help : Show this help screen" << endl; exit(0); @@ -84,11 +84,11 @@ for (int i = 1; i< argc; i++) { string current(argv[i]); - if (current == "--daemon") + if (current == "--daemon") { - isDaemon = true; + isDaemon = true; isDebug = false; - + } else if (current == "--debug") { @@ -99,7 +99,7 @@ { i++; if ( ismsCounter.incomming << ". "; out << "Messages sent:" << this->smsCounter.outgoing << "."; - + return out.str(); }