(file) Return to cimserver.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Server

Diff for /pegasus/src/Server/cimserver.cpp between version 1.230 and 1.231

version 1.230, 2009/02/11 05:49:14 version 1.231, 2009/02/16 11:47:50
Line 427 
Line 427 
  
 #endif /* PEGASUS_ENABLE_PRIVILEGE_SEPARATION */ #endif /* PEGASUS_ENABLE_PRIVILEGE_SEPARATION */
  
   static void _initConfigProperty(const String &propName, Uint32 value)
   {
       char strValue[22];
       Uint32 n;
       const char *startP = Uint32ToString(
           strValue,
           value,
           n);
       ConfigManager::getInstance()->initCurrentValue(propName, String(startP, n));
   }
   
 ///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
 //  MAIN //  MAIN
 ////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
Line 1034 
Line 1045 
                 //                 //
                 portNumberHttp = System::lookupPort(                 portNumberHttp = System::lookupPort(
                     WBEM_HTTP_SERVICE_NAME, WBEM_DEFAULT_HTTP_PORT);                     WBEM_HTTP_SERVICE_NAME, WBEM_DEFAULT_HTTP_PORT);
                 char strHttpPort[22];                  _initConfigProperty("httpPort", portNumberHttp);
                 Uint32 n;  
                 const char *startP = Uint32ToString(  
                     strHttpPort,  
                     portNumberHttp,  
                     n);  
                 configManager->initCurrentValue("httpPort", String(startP, n));  
             }             }
             else             else
             {             {
Line 1094 
Line 1099 
                 //                 //
                 portNumberHttps = System::lookupPort(                 portNumberHttps = System::lookupPort(
                     WBEM_HTTPS_SERVICE_NAME, WBEM_DEFAULT_HTTPS_PORT);                     WBEM_HTTPS_SERVICE_NAME, WBEM_DEFAULT_HTTPS_PORT);
                 char strHttpsPort[22];                  _initConfigProperty("httpsPort", portNumberHttps);
                 Uint32 n;  
                 const char *startP = Uint32ToString(  
                     strHttpsPort,  
                     portNumberHttps,  
                     n);  
                 configManager->initCurrentValue("httpsPort", String(startP, n));  
             }             }
             else             else
             {             {


Legend:
Removed from v.1.230  
changed lines
  Added in v.1.231

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2