--- innwebd/service.cpp 2004/09/16 15:42:06 1.6 +++ innwebd/service.cpp 2008/04/11 17:14:49 1.9 @@ -1,14 +1,10 @@ /*******************************************************/ /* */ /* LeafOK Innbbsd */ -/* Copyright (C) LeafOK.com, 2003-2004 */ /* */ -/* Programmed by Leaf */ -/* E-mail:leaflet@leafok.com QQ:6049044 */ +/* Copyright (C) LeafOK.com, 2003-2008 */ /* */ -/* http://bbs.leafok.com */ -/* http://bbs.leafok.net */ -/* http://bbs.fenglin.info */ +/* http://www.leafok.com */ /* */ /*******************************************************/ @@ -50,7 +46,10 @@ void service::Run() syslog << logfile::log_head << "Begin CONTROLD ... Failed" << endl; if (startup_err_count++ > 5) + { + this->m_bIsRunning = false; break; + } Sleep(1000 * 60 * 5); }