nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Valdis . Kletnieks
Subject: Re: [Nmh-workers] I did something wrong with replcomps
Date: Tue, 20 Dec 2016 12:15:37 -0500

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: pgpa2vZjZaCKa.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]