Package: mutt
Version: 1.5.18-6
git generates long message-id fields and my mutt wraps them
when I use it to send my patches in Lenny.
Since the last argument to mutt_write_one_header is the wrap
line, and 0, as used, forces the default of 76, I just
raise that value to an higher limit.
I already verified that 1.5.20 doesn't do that any more, as it writes
the message-id line without the "mutt_write_one_header" pass.
However, this is the version I'm already used, so I post this patch
to avoid a potential typo in doing it the other way.
/alessandro
--- ./sendlib.c.orig 2009-11-25 17:26:39.000000000 +0100
+++ ./sendlib.c 2009-11-25 16:40:05.000000000 +0100
@@ -1804,7 +1804,7 @@
/* save message id if the user has set it */
if (env->message_id && !privacy)
- mutt_write_one_header (fp, "Message-ID", env->message_id, NULL, 0);
+ mutt_write_one_header (fp, "Message-ID", env->message_id, NULL, 256);
if (env->reply_to)
{
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]