![]()
From: Crispen, Bob (Robert.Crispen@HSV.Boeing.com)
Date: Tue May 30 2000 - 07:44:23 CDT
Daniel Stenberg[SMTP:Daniel.Stenberg@haxx.nu] sez:
> I think the nicest possible solution to this problem would be to add all
> the
> detected base64-lines to a linked list, and when the end of the section is
> found we write a function that extends the current base64decoder and
> decodes
> all the lines in the list as one big base64-chunk.
>
> I am willing to do this change, unless anyone else wants to or have a
> better
> idea of how to correct this.
>
Why not good old recursion. Perhaps I misunderstand the
problem, but take a look at http://home.hiwaay.net/~crispen/#foxynews
download the program, and look in newslib.c. I believe what I've got
there might solve the problem. At any rate, I haven't observer it to
fail on unicode/quoted printable/etc. multi-line subject lines in my
newsreader.
Please feel free to use what you want.
Bob Crispen
bob.crispen@boeing.com
![]()