ATTACHER: Fixed filetype of destination file to be TXT (not BIN)

This commit is contained in:
Bobbi Webber-Manners 2020-10-29 23:54:08 -04:00
parent 392d9ec8b8
commit 57d1074666

View File

@ -631,6 +631,8 @@ void attach(char *fname) {
if (!fp)
error(ERR_FATAL, "Can't open %s", fname);
snprintf(filename, 80, "%s/OUTBOX/TMPFILE", cfg_emaildir);
_filetype = PRODOS_T_TXT;
_auxtype = 0;
destfp = fopen(filename, "wb");
if (!destfp)
error(ERR_FATAL, "Can't open TMPFILE");