From 4a7252d7b5af7b6106f19a7425f1e1e5fd413276 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sun, 3 Mar 2002 18:35:02 +0000 Subject: [PATCH] Experimental rfc2ftn patch --- ChangeLog | 2 ++ mbfido/mkftnhdr.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 30ecaccf..28121ac6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4652,6 +4652,8 @@ v0.33.20 10-Feb-2002 is automatic created and a areamgr request is sent to the uplink to connect that area. The area is created with the defaults from the mailgroup. + Experimental patch in mkftnhdr to create a To address in news + articles where a Reply-To: header is present. mball: Will not crash anymore when it needs more then 10 minutes to diff --git a/mbfido/mkftnhdr.c b/mbfido/mkftnhdr.c index c9be4572..3e4a27e2 100644 --- a/mbfido/mkftnhdr.c +++ b/mbfido/mkftnhdr.c @@ -228,6 +228,8 @@ ftnmsg *mkftnhdr(rfcmsg *msg, int incode, int outcode, int newsmode, faddr *reci p = xstrcpy(hdr((char *)"X-Fidonet-Comment-To",msg)); if (p == NULL) p = xstrcpy(hdr((char *)"X-Apparently-To",msg)); + if (p == NULL) + p = xstrcpy(hdr((char *)"Reply-To", msg)); if (p == NULL) p = xstrcpy(hdr((char *)"To", msg)); /* 14-Aug-2001 MB */ if (p) {