Re-enabled creating default From: line ftn2rfc
This commit is contained in:
parent
0bc438e2fd
commit
5a6abb3b70
@ -966,11 +966,15 @@ int ftn2rfc(faddr *f, faddr *t, char *subj, char *origline, time_t mdate, int fl
|
|||||||
free(p);
|
free(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (p)
|
/*
|
||||||
// sprintf(temp,"X-FTN-Sender: %s\n", ascinode(f,0xff));
|
* If post was done with an external editor that doesn't supply
|
||||||
// else
|
* From: (some GoldED versions, not all) then add one here.
|
||||||
// sprintf(temp,"From: %s\n", ascinode(f,0xff));
|
*/
|
||||||
// Send(newsmode, temp);
|
if (p)
|
||||||
|
sprintf(temp,"X-FTN-Sender: %s\n", ascinode(f,0xff));
|
||||||
|
else
|
||||||
|
sprintf(temp,"From: %s\n", ascinode(f,0xff));
|
||||||
|
Send(newsmode, temp);
|
||||||
|
|
||||||
if ((p=hdr((char *)"Reply-To",msg))) {
|
if ((p=hdr((char *)"Reply-To",msg))) {
|
||||||
sprintf(temp,"Reply-To:%s",p);
|
sprintf(temp,"Reply-To:%s",p);
|
||||||
|
Reference in New Issue
Block a user