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

@@ -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);
else
q = xstrcpy((char *)" .\n");