mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-06-08 00:29:29 +00:00
ATTACHER: Fixed filetype of destination file to be TXT (not BIN)
This commit is contained in:
parent
392d9ec8b8
commit
57d1074666
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue
Block a user