Added check for single dot <lf> in rfc2ftn

This commit is contained in:
Michiel Broek 2004-07-18 15:16:50 +00:00
parent 3c81974807
commit 52390fecea
2 changed files with 3 additions and 1 deletions

View File

@ -42,6 +42,8 @@ v0.61.2 11-Jul-2004
replace - replace -
Removed debug logging from toberep function since all problems Removed debug logging from toberep function since all problems
seems solved. seems solved.
In rfc2ftn added check for ".\n" to change to " .\n" instead of
only check for ".\r\n".
mbout: mbout:
Changed to use direct instead of immediate mail. Changed to use direct instead of immediate mail.

View File

@ -1580,7 +1580,7 @@ int ftn2rfc(faddr *f, faddr *t, char *subj, char *origline, time_t mdate, int fl
} }
} }
} }
if (strncmp(buf, ".\r\n", 3)) if ((strncmp(buf, ".\r\n", 3)) && (strncmp(buf, ".\n", 2)))
q = xstrcpy(buf); q = xstrcpy(buf);
else else
q = xstrcpy((char *)" .\n"); q = xstrcpy((char *)" .\n");