diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2017-09-23 16:17:47 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2017-09-23 16:17:47 (GMT) |
commit | 8880ec672eeb8f57c023938074d1336dfc82e2ed (patch) | |
tree | e33165e0428a7e4e9d35952ef9cecd9331b111ee /src/H5Oefl.c | |
parent | b5446a9c638b5a95b8dfe132f646aa4358d2b539 (diff) | |
download | hdf5-8880ec672eeb8f57c023938074d1336dfc82e2ed.zip hdf5-8880ec672eeb8f57c023938074d1336dfc82e2ed.tar.gz hdf5-8880ec672eeb8f57c023938074d1336dfc82e2ed.tar.bz2 |
Style cleanups and misc. bugfixes discovered during full SWMR development.
Diffstat (limited to 'src/H5Oefl.c')
-rw-r--r-- | src/H5Oefl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Oefl.c b/src/H5Oefl.c index 49c442f..ba7a6ee 100644 --- a/src/H5Oefl.c +++ b/src/H5Oefl.c @@ -151,7 +151,7 @@ H5O_efl_decode(H5F_t *f, hid_t dxpl_id, H5O_t H5_ATTR_UNUSED *open_oh, if((s = (const char *)H5HL_offset_into(heap, mesg->slot[u].name_offset)) == NULL) HGOTO_ERROR(H5E_SYM, H5E_CANTGET, NULL, "unable to get external file name") - if(*s == (char)NULL) + if(*s == (char)'\0') HGOTO_ERROR(H5E_SYM, H5E_CANTGET, NULL, "invalid external file name") mesg->slot[u].name = H5MM_xstrdup (s); HDassert(mesg->slot[u].name); |