Re: mhbuild and long header fields

2023-08-28 Thread David Levine
Philipp wrote: > One question about charstring_t: Why does charstring_push_back_chars() > not use memcpy? It has the side effect of advancing cur: s->cur++. David

Re: mhbuild and long header fields

2023-08-28 Thread David Levine
Philipp wrote: > Ah, I forgott the early continue. The attached version sould work. It does. I'm sending this message using it. David

Re: mhbuild and long header fields

2023-08-28 Thread Philipp
[2023-08-27 22:00] David Levine > Philipp wrote: > > > [2023-08-27 09:29] David Levine > > > > > > My only comment on the code itself is that I prefer functions that > > > just do one thing. So I would implement a fold function that just > > > modifies a string, and leave the fprintf/fwrite to o

Re: mhbuild and long header fields

2023-08-28 Thread Philipp
[2023-08-27 22:00] David Levine > > For the blank lines you mentioned: Can you test the attached version of > > my patch. If this don't fix your problem, can you provide a sample mail? > > The patch didn't fix it. The attached sample shows the added line > when run through mhfixmsg: > > $ uip/mhf