/[LeafOK_CVS]/innwebd/service.cpp
ViewVC logotype

Diff of /innwebd/service.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 by sysadm, Thu Sep 16 15:42:06 2004 UTC Revision 1.8 by sysadm, Sat Feb 26 16:10:26 2005 UTC
# Line 1  Line 1 
1  /*******************************************************/  /*******************************************************/
2  /*                                                     */  /*                                                     */
3  /*  LeafOK Innbbsd                                     */  /*  LeafOK Innbbsd                                     */
4  /*  Copyright (C) LeafOK.com, 2003-2004                */  /*  Copyright (C) LeafOK.com, 2003-2005                */
5  /*                                                     */  /*                                                     */
6  /*  Programmed by Leaf                                 */  /*  Programmed by Leaf                                 */
7  /*  E-mail:leaflet@leafok.com  QQ:6049044              */  /*  E-mail:leaflet@leafok.com  QQ:6049044              */
# Line 50  void service::Run() Line 50  void service::Run()
50                  syslog << logfile::log_head << "Begin CONTROLD ... Failed" << endl;                  syslog << logfile::log_head << "Begin CONTROLD ... Failed" << endl;
51    
52                  if (startup_err_count++ > 5)                  if (startup_err_count++ > 5)
53                    {
54                            this->m_bIsRunning = false;
55                          break;                          break;
56                    }
57    
58                  Sleep(1000 * 60 * 5);                  Sleep(1000 * 60 * 5);
59          }          }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1