mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-17 16:50:18 +08:00
Corrected an else statement.
This commit is contained in:
parent
c685174a30
commit
42ba263377
@ -193,7 +193,7 @@ static int NC_check_file_type(const char *path, int flags, void *parameters,
|
||||
status = NC_ENOTNC;
|
||||
goto done;
|
||||
}
|
||||
else
|
||||
#else
|
||||
{ int fno = fileno(fp);
|
||||
if(!(fstat(fno,&st) == 0)) {
|
||||
fclose(fp);
|
||||
|
Loading…
Reference in New Issue
Block a user