[BACK] Return to admin_executor_service.cpp CVS log [TXT][DIR] Up to Nevrax / code / nelns / admin_executor_service

Diff for /code/nelns/admin_executor_service/admin_executor_service.cpp between version 1.8 and 1.9

version 1.8, 2001/06/18 14:43:31 version 1.9, 2001/06/18 14:54:06
Line 143 
Line 143 
                 char oldpath[256];                 char oldpath[256];
                 if (!ServicePath.empty())                 if (!ServicePath.empty())
                 {                 {
                         _getcwd(oldpath,256);                         getcwd(oldpath,256);
                         _chdir(ServicePath.c_str());                         chdir(ServicePath.c_str());
                 }                 }
  
                 system (ServiceCommand.c_str());                 system (ServiceCommand.c_str());
                                  
                 if (!ServicePath.empty())                 if (!ServicePath.empty())
                         _chdir(oldpath);                         chdir(oldpath);
  
                 nlinfo ("end service '%s' '%s' in '%s' directory", ServiceAlias.c_str(), ServiceCommand.c_str(), ServicePath.c_str());                 nlinfo ("end service '%s' '%s' in '%s' directory", ServiceAlias.c_str(), ServiceCommand.c_str(), ServicePath.c_str());
         }         }
Line 296 
Line 296 
 { {
         Services.push_back (CService (from));         Services.push_back (CService (from));
         CService *s = &(Services.back());         CService *s = &(Services.back());
         from->setAppId ((uint64)s);         from->setAppId ((uint64)(uint)s);
  
         nlinfo ("*:*:%d connected", s->Id);         nlinfo ("*:*:%d connected", s->Id);
                  


Legend:
Removed from v.1.8 
changed lines
 Added in v.1.9