--- smsdaemon/SmsDaemon.cpp 2008/06/16 12:21:30 95 +++ smsdaemon/SmsDaemon.cpp 2008/12/06 15:13:34 128 @@ -19,7 +19,6 @@ using namespace std; - void SmsDaemon::CreateLogMessage(SMS& sms,bool hasPlugin) { ostringstream os; @@ -33,7 +32,7 @@ void SmsDaemon::CheckSms() { - const int INTERVAL = 250; //no of milliseconds between sms checks + const int INTERVAL = 1000; //no of milliseconds between sms checks timeval now = Util::GetTimeOfDay(); if ( Util::mTimeDiff(_lastSmsCheck,now) < INTERVAL) @@ -89,7 +88,7 @@ if (cmn->isDebug && kbhit()) break; - Util::Sleep(10); + Util::Sleep(100); } } @@ -104,7 +103,7 @@ cmn->logMessage("--------------------------------"); cmn->logMessage( VERSION ); - cmn->logMessage( SVNVER ); + cmn->logMessage( SVNVERSION ); cmn->GetTaskManager()->LoadTasks(); cmn->GetPluginManager()->LoadPlugins();