nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] pick(1) decode RFC-2047 headers?


From: David Levine
Subject: Re: [Nmh-workers] pick(1) decode RFC-2047 headers?
Date: Sat, 24 Nov 2012 22:26:13 -0600

> > Ken wrote:
> > 
> > > Couldn't we just do
> > >
> > > >+    if (body == 0 && decode_rfc2047 (linebuf, decoded_linebuf, sizeof
> > > decoded_linebuf)) {
> > 
> > Yup, that'll work.
> 
> Except for the last header.  body gets set before breaking
> out of the loop.

(body == 0 || lf > 0) takes care of that.

David



reply via email to

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