mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-18 17:40:55 +08:00
H5VLregister_by_value() should not set _BY_NAME when searching for
plugins.
This commit is contained in:
parent
7d28a4295e
commit
9152547b76
@ -295,7 +295,7 @@ H5VLregister_connector_by_value(H5VL_class_value_t value, hid_t vipl_id)
|
||||
const H5VL_class_t *cls;
|
||||
|
||||
/* Try loading the connector */
|
||||
key.vol.kind = H5VL_GET_CONNECTOR_BY_NAME;
|
||||
key.vol.kind = H5VL_GET_CONNECTOR_BY_VALUE;
|
||||
key.vol.u.value = value;
|
||||
if(NULL == (cls = (const H5VL_class_t *)H5PL_load(H5PL_TYPE_VOL, &key)))
|
||||
HGOTO_ERROR(H5E_VOL, H5E_CANTINIT, H5I_INVALID_HID, "unable to load VOL connector")
|
||||
|
Loading…
x
Reference in New Issue
Block a user