nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] I did something wrong with replcomps

2016-12-20 11:16:11
On Tue, 20 Dec 2016 12:06:33 -0500, David Levine said:

How does the attached patch look?  It adds a new flag, for use by
repl with Fcc.  A test case confirms that it solves the problem.

@@ -121 +120,3 @@ replout (FILE *inb, char *msg, char *drft, struct msgs *mp, 
int outputlinelen,
-     if (cptr)
+    if (cptr) {
+        cptr->c_flags |= CF_SUPPRESS;
+        if (fcc)

That compiles correctly?  You added a { and I don't see a added } to match.

In addition, do we want to set CF_SUPPRESS for *all* headers, or just Fcc?
If the latter, the |= CF_SUPPRESS should be inside the 'if (fcc)', no?

Or am I insufficiently caffeinated?

Attachment: pgpOPXdjYigHB.pgp
Description: PGP signature

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers
<Prev in Thread] Current Thread [Next in Thread>