--- smsdaemon/SmsDaemon.cpp 2008/12/06 20:26:38 131 +++ smsdaemon/SmsDaemon.cpp 2008/12/07 00:59:05 132 @@ -3,6 +3,8 @@ #include #include +#include + #include "common.h" #include "GsmModem.h" @@ -97,6 +99,7 @@ { Common* cmn = Common::instance(); + srand(time(0)); cmn->daemonStart = time(0); _lastSmsCheck = Util::GetTimeOfDay();