Article View: comp.mail.mush
Article #248Re: Problems with Mush 6.5.6 (In-Reply-To:)
From: Barton E. Schaefer
Date: Thu, 26 Oct 1989 01:39
Date: Thu, 26 Oct 1989 01:39
34 lines
1888 bytes
1888 bytes
In article <2010@diamond.warwick.ac.uk> alfie@cs.warwick.ac.uk (Nick Holloway) writes:
} I have recently noticed that the "In-Reply-To:" header is produced twice on
} messages that are replies.
This only happens when edit_hdrs is set. Since there aren't going to
be any more "official" patches to 6.5, here's an unofficial description
of the fix. Sorry, I don't have correct line numbers for this at the
moment (all my 6.5 sources are archived), so I can't make a real diff.
In mail.c, function add_headers(), look for something like
if (for_editor || isoff(flags, EDIT_HDRS)) {
#ifdef PICKY_MAILER
if (i > 0)
#endif /* PICKY_MAILER */
(void) fprintf(files[i], "%sDate: %s\n",
ison(flags, FORWARD) ? "Resent-" : "", rfc_date(date_str));
got_date = TRUE;
}
if (*in_reply_to)
fprintf(files[i], "In-Reply-To: %s\n", in_reply_to);
The fix is to move the "if (*in_reply_to)" clause inside the curly
brace immediately above it.
} While I'm here - I wish there was the ability to tell mush to *always*
} page, no matter what the length is.
Yes, that may eventually appear.
--
Bart Schaefer "A Yellowbeard is never so dangerous as when he's dead."
-- Graham Chapman, 1941-1989
CSNET / Internet schaefer@cse.ogc.edu
UUCP ...{sequent,tektronix,verdix}!ogccse!schaefer
Technical Details
Message-ID:
<5278@ogccse.ogc.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucsd!ogccse!schaeferReferences:
<2010@diamond.warwick.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucsd!ogccse!schaefer From: schaefer@ogccse.ogc.edu (Barton E. Schaefer) Newsgroups: comp.mail.mush Subject: Re: Problems with Mush 6.5.6 (In-Reply-To:) Message-ID: <5278@ogccse.ogc.edu> Date: 26 Oct 89 01:39:45 GMT References: <2010@diamond.warwick.ac.uk> Reply-To: schaefer@ogccse.UUCP (Barton E. Schaefer) Organization: Oregon Graduate Center, Beaverton, OR Lines: 34