Close files after sending

This commit is contained in:
Camden Dixie O'Brien 2022-10-14 11:41:43 +01:00
parent 0311c858c3
commit 076bda3dc3

2
main.c
View File

@ -304,6 +304,8 @@ int main(int argc, char *argv[])
if (feof(rf)) if (feof(rf))
break; break;
} }
fclose(rf);
} else if (S_ISDIR(rstat.st_mode)) { } else if (S_ISDIR(rstat.st_mode)) {
/* /*
* Open the directory. * Open the directory.