--- smsdaemon/SmsDaemon.cpp 2008/12/08 21:28:40 157 +++ smsdaemon/SmsDaemon.cpp 2008/12/18 06:53:29 196 @@ -5,14 +5,14 @@ #include #include -#include "common.h" +#include "Common.h" #include "ISmsTransceiver.h" #include "Plugin.h" #include "kbhit.h" -#include "util.h" +#include "Util.h" #include "TaskManager.h" #include "PluginManager.h" @@ -52,7 +52,7 @@ for (unsigned int i=0; iGetPlugin(cmd); @@ -68,7 +68,6 @@ _modem.SendSms(sms[i].GetSender(), "Unknown command!", false); } - _modem.DeleteSms(sms[i].GetIndex()); cmn->smsCounter.incomming++; } } @@ -117,7 +116,7 @@ Logger::logMessage("SMS daemon started"); _modem.DeleteAllSms(); - + try { MainLoop();