nmh-workers
[Top] [All Lists]

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

2016-12-20 11:43:17
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

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