(file) Return to CMPI_SubCond.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ProviderManager2 / CMPI

Diff for /pegasus/src/Pegasus/ProviderManager2/CMPI/CMPI_SubCond.cpp between version 1.7 and 1.8

version 1.7, 2004/10/17 20:40:01 version 1.8, 2005/01/24 14:07:23
Line 61 
Line 61 
    CMPIPredicate* sbcGetPredicateAt(CMPISubCond* eSbc, unsigned int index, CMPIStatus* rc) {    CMPIPredicate* sbcGetPredicateAt(CMPISubCond* eSbc, unsigned int index, CMPIStatus* rc) {
       CMPI_SubCond *sbc=(CMPI_SubCond*)eSbc;       CMPI_SubCond *sbc=(CMPI_SubCond*)eSbc;
       if (index<=sbc->row->size()) {       if (index<=sbc->row->size()) {
          const term_el *term=sbc->row[index].getData();           const term_el *term=(sbc->row->getData())+index;
  
          CMPIPredicate *prd=(CMPIPredicate*)new CMPI_Predicate(term);          CMPIPredicate *prd=(CMPIPredicate*)new CMPI_Predicate(term);
          if (rc) CMSetStatus(rc,CMPI_RC_OK);          if (rc) CMSetStatus(rc,CMPI_RC_OK);


Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2