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

Diff for /pegasus/src/Pegasus/Common/CIMObjectPath.cpp between version 1.4 and 1.5

version 1.4, 2002/05/17 19:00:25 version 1.5, 2002/05/21 16:39:57
Line 565 
Line 565 
     {     {
         // Get key part:         // Get key part:
  
         char* key = strtok(p, "=");          char* equalsign = strchr(p, '=');
           if (!equalsign)
         if (!key)  
         {         {
             throw IllformedObjectName(objectName);             throw IllformedObjectName(objectName);
         }         }
  
         String keyString(key);          *equalsign = 0;
           String keyString(p);
  
         if (!CIMName::legal(keyString))         if (!CIMName::legal(keyString))
             throw IllformedObjectName(objectName);             throw IllformedObjectName(objectName);
Line 580 
Line 580 
         // Get the value part:         // Get the value part:
  
         String valueString;         String valueString;
         p = p + strlen(key) + 1;          p = equalsign + 1;
         KeyBinding::Type type;         KeyBinding::Type type;
  
         if (*p == 'R')         if (*p == 'R')


Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2