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: David Levine
Subject: Re: [Nmh-workers] I did something wrong with replcomps
Date: Tue, 20 Dec 2016 12:43:01 -0500

Valdis wrote:

> That compiles correctly?

Yes, and does what I want.

> You added a { and I don't see a added } to match.

Another { was removed:

    -    if (fcc) {

> 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?

It's just Fcc, it would probably help to see the context:

    /* set up the "fcc" pseudo-component */
    cptr = fmt_findcomp ("fcc");
    if (cptr) {
        cptr->c_flags |= CF_SUPPRESS;
        if (fcc)
            cptr->c_text = mh_xstrdup(fcc);
    }

David



reply via email to

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