diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-07-11 21:52:12 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-07-11 21:52:12 (GMT) |
commit | bef08a7c0ec8f1bdc6a2637401b99d3c2bbb0617 (patch) | |
tree | 22d86206d90c12ad58a5406530ba73d49fa0c2a4 /src/H5VL.c | |
parent | f8f9dac38a70f525248c3684e612edf1fa31c18a (diff) | |
download | hdf5-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |