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

Diff for /pegasus/src/Pegasus/Server/ProviderRegistrationManager/ProviderRegistrationManager.cpp between version 1.110 and 1.111

version 1.110, 2006/10/27 17:47:13 version 1.111, 2007/02/14 21:37:07
Line 4026 
Line 4026 
     const Array<Uint16> & status,     const Array<Uint16> & status,
     CIMInstance & instance)     CIMInstance & instance)
 { {
       _repository->setProperty(
           PEGASUS_NAMESPACENAME_INTEROP,
           instance.getPath(),
           _PROPERTY_OPERATIONALSTATUS,
           status);
   
     Uint32 pos = instance.findProperty(_PROPERTY_OPERATIONALSTATUS);     Uint32 pos = instance.findProperty(_PROPERTY_OPERATIONALSTATUS);
  
     if (pos != PEG_NOT_FOUND)      if (pos == PEG_NOT_FOUND)
       {
           instance.addProperty(CIMProperty(_PROPERTY_OPERATIONALSTATUS, status));
       }
       else
     {     {
         instance.getProperty(pos).setValue(CIMValue(status));         instance.getProperty(pos).setValue(CIMValue(status));
   
         _repository->modifyInstance(  
             PEGASUS_NAMESPACENAME_INTEROP,  
             instance,  
             true,  
             CIMPropertyList());  
     }     }
 } }
  


Legend:
Removed from v.1.110  
changed lines
  Added in v.1.111

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2