summaryrefslogtreecommitdiffstats
path: root/src/H5FDmulti.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2012-08-22 19:09:56 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2012-08-22 19:09:56 (GMT)
commitcac6687a6a4adcfff526d91f3b57671089ef10b5 (patch)
tree391d2fc52cf29624237cbdd4e8a2e1314e186658 /src/H5FDmulti.c
parentedf83e5d1f1e38288cecba33bb7e6b11729050be (diff)
downloadhdf5-cac6687a6a4adcfff526d91f3b57671089ef10b5.zip
hdf5-cac6687a6a4adcfff526d91f3b57671089ef10b5.tar.gz
hdf5-cac6687a6a4adcfff526d91f3b57671089ef10b5.tar.bz2
[svn-r22707] Description:
Bring back some more cleanups from the plist_encode_decode branch, clean up some formatting and compiler errors, and add a few more property comparison routines that we've skipped implementing in the past. Tested on: Mac OSX/64 10.7.4 (amazon) w/debug (Too minor to require h5committest)
Diffstat (limited to 'src/H5FDmulti.c')
-rw-r--r--src/H5FDmulti.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5FDmulti.c b/src/H5FDmulti.c
index 08529e2..16934e3 100644
--- a/src/H5FDmulti.c
+++ b/src/H5FDmulti.c
@@ -657,16 +657,16 @@ H5FD_multi_dxpl_cmp_cb(const void *_dx1, const void *_dx2, size_t size)
return(cmp_status);
} /* end if */
else
- return(1);
+ return(-1);
} /* end if */
else {
if(dx2->memb_dxpl[mt] >= 0)
- return(-1);
+ return(1);
else
if(dx1->memb_dxpl[mt] > dx2->memb_dxpl[mt])
- return(1);
- else if(dx1->memb_dxpl[mt] < dx2->memb_dxpl[mt])
return(-1);
+ else if(dx1->memb_dxpl[mt] < dx2->memb_dxpl[mt])
+ return(1);
else
continue;
} /* end else */