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

Diff for /code/nelns/admin_service/admin_service.cpp between version 1.14 and 1.15

version 1.14, 2002/03/19 17:42:48 version 1.15, 2002/03/25 09:28:00
Line 36 
Line 36 
 #define NELNS_LOGS "" #define NELNS_LOGS ""
 #endif // NELNS_LOGS #endif // NELNS_LOGS
  
  #include "nel/misc/types_nl.h"
  
 #include <string> #include <string>
 #include <list> #include <list>
  
 #include "nel/net/service.h" 
 #include "nel/misc/debug.h" #include "nel/misc/debug.h"
 #include "nel/misc/config_file.h" #include "nel/misc/config_file.h"
 #include "nel/misc/command.h" #include "nel/misc/command.h"
  
  #include "nel/net/service.h"
 #include "nel/net/net_manager.h" #include "nel/net/net_manager.h"
  
 using namespace std; using namespace std;
Line 196 
Line 198 
         // get the script         // get the script
         try         try
         {         {
                 CConfigFile::CVar &script = IService::ConfigFile.getVar("Services");                 CConfigFile::CVar &script = IService::getInstance()->ConfigFile.getVar("Services");
  
                 // check the position                 // check the position
  
Line 275 
Line 277 
  
         try         try
         {         {
                 CConfigFile::CVar &script = IService::ConfigFile.getVar("Services");                 CConfigFile::CVar &script = IService::getInstance()->ConfigFile.getVar("Services");
  
                 for (sint i = 0 ; i < script.size (); i+=2)                 for (sint i = 0 ; i < script.size (); i+=2)
                 {                 {
Line 690 
Line 692 
         {         {
                 msgin.serial (password);                 msgin.serial (password);
  
                 if (password == IService::ConfigFile.getVar("Password").asString())                 if (password == IService::getInstance()->ConfigFile.getVar("Password").asString())
                 {                 {
                         // good authentification                         // good authentification
                         ok = true;                         ok = true;
Line 982 
Line 984 
 // AESAS is a client connection to the admin executor // AESAS is a client connection to the admin executor
  
 /// Naming Service /// Naming Service
 NLNET_SERVICE_MAIN (CAdminService, "AS", "admin_service", 49995, ClientCallbackArray, NELNS_CONFIG, NELNS_LOGS); NLNET_OLD_SERVICE_MAIN (CAdminService, "AS", "admin_service", 49995, ClientCallbackArray, NELNS_CONFIG, NELNS_LOGS);


Legend:
Removed from v.1.14 
changed lines
 Added in v.1.15