Re: decoding quoted printable

"Y. Hida" <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
On 2009-05-11, Thomas Wiegner <[email protected]> wrote:
>
> A sample message-id might be useful. If these posting you have
> problems with are multipart postings, you might want to try 
> my "miminal multipart patch".
>
> http://www.foory.de/thw/slrn/
>

It still doesn't decode some articles.  For example, the one with
message ID [email protected]
in gmane.comp.web.links.

I think the problem is the MIME type of text/x-patch.  The following
patch will decode MIME types of text/* instead of just text/plain.

I have no idea if this causes other problems though.

-Yozo

diff --git a/src/mime.c b/src/mime.c
index 91eb825..60ecc83 100644
--- a/src/mime.c
+++ b/src/mime.c
@@ -99,8 +99,7 @@ static int parse_content_type_line (Slrn_Article_Type *a)/*{{{*/
 	b += 5;
 	if (0 != slrn_case_strncmp (b, "plain", 5))
 	  {
-	     a->mime.content_subtype = CONTENT_SUBTYPE_UNSUPPORTED;
-	     return -1;
+	     a->mime.content_subtype = CONTENT_SUBTYPE_UNKNOWN;
 	  }
 	else
 	  {



------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.