Corrected an else statement.

This commit is contained in:
Ward Fisher 2017-05-12 15:49:41 -06:00
parent c685174a30
commit 42ba263377

View File

@ -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);