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

Diff of /innwebd/controld.cpp

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

Revision 1.7 by sysadm, Sun Jul 4 08:04:08 2004 UTC Revision 1.10 by sysadm, Tue Aug 10 19:55:25 2004 UTC
# Line 139  int controld::Accept(void) Line 139  int controld::Accept(void)
139                                  }                                  }
140                                  else                                  else
141                                  {                                  {
142                                          this>s_send("501 service");                                          this->s_send("501 service");
143                                  }                                  }
144                                  contiinue;                                  continue;
145                          }                          }
146    
147                          if (cmd == "SHUTDOWN")                          if (cmd == "SHUTDOWN")
# Line 431  void controld::StartupDelay(void) Line 431  void controld::StartupDelay(void)
431    
432  void controld::ShutdownChild(void)  void controld::ShutdownChild(void)
433  {  {
434          if (this->bbsd.end() == 0)          if (this->bbsd.IsRunning())
         {  
                 syslog << logfile::log_head << "End BBSD ... OK" << endl;  
         }  
         else  
435          {          {
436                  syslog << logfile::log_head << "End BBSD ... Failed" << endl;                  if (this->bbsd.end() == 0)
437                    {
438                            syslog << logfile::log_head << "End BBSD ... OK" << endl;
439                    }
440                    else
441                    {
442                            syslog << logfile::log_head << "End BBSD ... Failed" << endl;
443                    }
444          }          }
445    
446          if (this->innd.end() == 0)          if (this->innd.IsRunning())
447          {          {
448                  syslog << logfile::log_head << "End INND ... OK" << endl;                  if (this->innd.end() == 0)
449          }                  {
450          else                          syslog << logfile::log_head << "End INND ... OK" << endl;
451          {                  }
452                  syslog << logfile::log_head << "End INND ... Failed" << endl;                  else
453                    {
454                            syslog << logfile::log_head << "End INND ... Failed" << endl;
455                    }
456          }          }
457    
458          if (this->outd.end() == 0)          if (this->outd.IsRunning())
         {  
                 syslog << logfile::log_head << "End OUTD ... OK" << endl;  
         }  
         else  
459          {          {
460                  syslog << logfile::log_head << "End OUTD ... Failed" << endl;                  if (this->outd.end() == 0)
461                    {
462                            syslog << logfile::log_head << "End OUTD ... OK" << endl;
463                    }
464                    else
465                    {
466                            syslog << logfile::log_head << "End OUTD ... Failed" << endl;
467                    }
468          }          }
469  }  }
470    


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

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