There is a little improvement to the code that creates the
X-FTN-Tearline: .... when gating to usenet format.
Some echo messages come whith a Tearline of "--- " instead of just "---",
whith the old code as "--- \r" is greather than 4 we end up whith "\r"
as the (*tmsg)->val.
As any non null tearline has at least 6 chars ("--- " an ending "\r" and
at least one char in between) doing the test whith the value 5 instead of 4
will make those null tearlines to be correctly handled as
"X-FTN-Tearline: (none)\n" instead of "X-FTN-Tearline: \n".
--- ifmail-2.10/ifgate/getmessage.c Sat Apr 26 10:37:30 1997
+++ ifmail/ifgate/getmessage.c Tue Apr 29 16:42:00 1997
@@ -223,7 +223,7 @@
*tmsg=(rfcmsg *)xmalloc(sizeof(rfcmsg));
(*tmsg)->next=NULL;
(*tmsg)->key=xstrcpy("Tearline");
- if (strlen(buf) > 4)
+ if (strlen(buf) > 5)
(*tmsg)->val=xstrcpy(buf+4);
else
(*tmsg)->val=xstrcpy("(none)\n");
--A bientôt, Pablo Saratxaga
~ ~ :wq ;-) PGP Key available, key ID: 0x8F0E4975