Hi Tim,

Tim Connors schrieb am Mon 04. Aug, 21:33 (+1000):
> Since this is a rather useless feature,

I don't think so.

> I have just wholesale disabled it in the following patch.

I don't like this idea, because it might hide bug. I've created a
different patch and asked upstream for inclusion. Can you try the patch
and see if you have any problem?

diff --git a/src/mime.c b/src/mime.c
index d36568c..9d11e8f 100644
--- a/src/mime.c
+++ b/src/mime.c
@@ -1238,7 +1238,12 @@ static Slrn_Mime_Error_Obj *fold_line (char 
**s_ptr)/*{{{*/
    s = skip_non_ascii_whitespace (s, smax);
    
    line_len = s - s0;
-   if (line_len >= MAX_CONTINUED_HEADER_SIZE)
+   /* Google Groups uses big message IDs they lead to overlong lines. But we
+    * can't fold these lines, because we must keep the message ID as is.
+    */
+   if (line_len >= MAX_CONTINUED_HEADER_SIZE
+       && (0 != slrn_case_strncmp(s0, "references:", 11)
+           || 0 != slrn_case_strncmp(s - 17, "googlegroups.com>", 17)))
      long_words++;
 
    if (NULL == (folded_text = slrn_strnmalloc (s0, line_len, 1)))

Bye, Jörg.
-- 
chinesiches Sprichwort:
Wer fragt, ist ein Narr für fünf Minuten.
Wer nicht fragt, ist ein Narr fürs ganze Leben.

Attachment: signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP

Reply via email to