diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-09-15 18:30:00 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2014-09-15 18:30:00 (GMT) |
commit | e0ccecfeb185193b45d84728f77c382ff4d3c610 (patch) | |
tree | 98df20cf513e636a32781c627748e48a87121333 /src/H5PL.c | |
parent | cefacc4de4e59963fd1f2d41bb62109ad2b897d9 (diff) | |
download | hdf5-e0ccecfeb185193b45d84728f77c382ff4d3c610.zip hdf5-e0ccecfeb185193b45d84728f77c382ff4d3c610.tar.gz hdf5-e0ccecfeb185193b45d84728f77c382ff4d3c610.tar.bz2 |
[svn-r25593] - rename values for VOL class.
- add more sanity checks in H5VL APIs.
Diffstat (limited to 'src/H5PL.c')
-rw-r--r-- | src/H5PL.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -622,7 +622,7 @@ H5PL__open(H5PL_type_t pl_type, char *libname, int pl_id, const char *pl_name, c } /* end if */ /* Successfully found plugin library, check if it's the right one */ - if((pl_id > MAX_VOL_LIB_VALUE && plugin_info->value == pl_id) || + if((pl_id > H5_VOL_MAX_LIB_VALUE && plugin_info->value == pl_id) || (pl_name && !strcmp(pl_name, plugin_info->name))) { /* Expand the table if it is too small */ if(H5PL_vol_table_used_g >= H5PL_vol_table_alloc_g) { |