diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2018-11-01 16:22:54 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2018-11-01 16:22:54 (GMT) |
commit | a5cc4e272b73384600b2b20429d4189e820a0451 (patch) | |
tree | fbdc5c2d99394cf586709a18a0477f5484333660 /src/H5Lexternal.c | |
parent | a39486a341dd6cb1859ecd489e0d23e9fd1aa069 (diff) | |
download | hdf5-a5cc4e272b73384600b2b20429d4189e820a0451.zip hdf5-a5cc4e272b73384600b2b20429d4189e820a0451.tar.gz hdf5-a5cc4e272b73384600b2b20429d4189e820a0451.tar.bz2 |
Refactor and standardize the link VOL callbacks. Also fix error stack for
testing.
Diffstat (limited to 'src/H5Lexternal.c')
-rw-r--r-- | src/H5Lexternal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Lexternal.c b/src/H5Lexternal.c index ff045c8..1c69c53 100644 --- a/src/H5Lexternal.c +++ b/src/H5Lexternal.c @@ -422,8 +422,7 @@ H5Lcreate_external(const char *file_name, const char *obj_name, HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't get property value from plist") /* Create an external link */ - if((ret_value = H5VL_link_create(H5VL_LINK_CREATE_UD, vol_obj->data, loc_params, vol_obj->plugin->cls, - lcpl_id, lapl_id, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL)) < 0) + if(H5VL_link_create(H5VL_LINK_CREATE_UD, vol_obj, loc_params, lcpl_id, lapl_id, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL) < 0) HGOTO_ERROR(H5E_LINK, H5E_CANTINIT, FAIL, "unable to create external link") done: |