mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Fix Jeff Whittaker's bug NCF-156
This commit is contained in:
parent
787d32fffd
commit
d412686ec3
@ -259,7 +259,7 @@ nc4_put_att(int ncid, NC_FILE_INFO_T *nc, int varid, const char *name,
|
||||
{
|
||||
if (h5->cmode & NC_CLASSIC_MODEL)
|
||||
return NC_EINDEFINE;
|
||||
if ((retval = nc_enddef(ncid)))
|
||||
if ((retval = NC4_redef(ncid)))
|
||||
BAIL(retval);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user