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?
 pgpOPXdjYigHB.pgp
pgpOPXdjYigHB.pgp
Description: PGP signature
_______________________________________________ Nmh-workers mailing list Nmh-workers(_at_)nongnu(_dot_)org https://lists.nongnu.org/mailman/listinfo/nmh-workers
| Previous by Date: | Re: [Nmh-workers] I did something wrong with replcomps, David Levine | 
|---|---|
| Next by Date: | Re: [Nmh-workers] I did something wrong with replcomps, Ken Hornstein | 
| Previous by Thread: | Re: [Nmh-workers] I did something wrong with replcomps, David Levine | 
| Next by Thread: | Re: [Nmh-workers] I did something wrong with replcomps, David Levine | 
| Indexes: | [Date] [Thread] [Top] [All Lists] |