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

Diff for /pegasus/src/Pegasus/ManagedClient/CIMManagedClient.cpp between version 1.9 and 1.9.36.2

version 1.9, 2006/04/18 19:08:44 version 1.9.36.2, 2007/06/18 09:14:21
Line 797 
Line 797 
         // test if a host is given at all not necessary here         // test if a host is given at all not necessary here
         // if there is no we failed to detect that before anyway         // if there is no we failed to detect that before anyway
         // wonder how that should possibly happen???         // wonder how that should possibly happen???
           HostLocator addr(inHost);
         // splitting the port from hostname          Uint32 portNumber = 0;
         int i = inHost.find(":");          if (addr.isPortSpecified())
         // only if there is a ":" we should split a port address from hostname string  
         if (i > 0)  
         {  
                 inPort = inHost.subString(i+1);  
                 inHost.remove(i);  
         } else  
         {         {
                 // if there is no : , there is no port, we use the default empty port              inHost = addr.getHost();
                 inPort = String::EMPTY;              inPort = addr.getPortString();
         }         }
   
         return getTargetCIMOM(inHost, inPort, inNameSpace);         return getTargetCIMOM(inHost, inPort, inNameSpace);
 } }
  


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

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2