~ubuntu-branches/ubuntu/utopic/sblim-sfcc/utopic-proposed

« back to all changes in this revision

Viewing changes to backend/cimxml/array.c

  • Committer: Package Import Robot
  • Author(s): Logan Rosen
  • Date: 2012-11-15 11:49:36 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20121115114936-53syr7flsjo21gw3
Tags: 2.2.4-0ubuntu1
* New upstream release.
* Add debian/watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
186
186
         }         
187
187
      }
188
188
 
 
189
      if ( type == CMPI_null ) {
 
190
 
 
191
         if ( ! ( a->data[index].state & CMPI_nullValue ) ) {
 
192
            __make_NULL ( a, index, index, 1 );
 
193
         }
 
194
         CMReturn ( CMPI_RC_OK );
 
195
      }
 
196
 
189
197
      if ( opt || type == a->type ) {
190
198
 
191
199
         CMPIStatus rc = {CMPI_RC_OK, NULL};
197
205
                CMRelease(v.string);
198
206
         return rc;
199
207
      }
200
 
 
201
 
      if ( type == CMPI_null ) {
202
 
 
203
 
         if ( ! ( a->data[index].state & CMPI_nullValue ) ) {
204
 
            __make_NULL ( a, index, index, 1 );
205
 
         }
206
 
         CMReturn ( CMPI_RC_OK );
207
 
      }
208
208
   }
209
209
   CMReturn ( CMPI_RC_ERR_FAILED );
210
210
}