summaryrefslogtreecommitdiffstats
path: root/src/H5VL.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-07-11 21:52:12 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-07-11 21:52:12 (GMT)
commitbef08a7c0ec8f1bdc6a2637401b99d3c2bbb0617 (patch)
tree22d86206d90c12ad58a5406530ba73d49fa0c2a4 /src/H5VL.c
parentf8f9dac38a70f525248c3684e612edf1fa31c18a (diff)
downloadhdf5-bef08a7c0ec8f1bdc6a2637401b99d3c2bbb0617.zip
hdf5-bef08a7c0ec8f1bdc6a2637401b99d3c2bbb0617.tar.gz
hdf5-bef08a7c0ec8f1bdc6a2637401b99d3c2bbb0617.tar.bz2
[svn-r22559] - move the vol plugin ref count increment for H5Freopen into the VOL layer
- fix a bug in H5VLdatatype_get_binary
Diffstat (limited to 'src/H5VL.c')
-rw-r--r--src/H5VL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5VL.c b/src/H5VL.c
index 4372f05..b0b15a9 100644
--- a/src/H5VL.c
+++ b/src/H5VL.c
@@ -708,7 +708,7 @@ H5VLdatatype_get_binary(void *obj, H5VL_t *vol_plugin, unsigned char *buf, size_
if (NULL == obj || NULL == vol_plugin || NULL == vol_plugin->cls)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid object/VOL class pointer")
- if((ret_value = H5VL_datatype_get_binary(obj, vol_plugin, buf, size, req)))
+ if((ret_value = H5VL_datatype_get_binary(obj, vol_plugin, buf, size, req)) < 0)
HGOTO_ERROR(H5E_VOL, H5E_CANTINIT, FAIL, "unable to encode datatype")
done: