openbsd-ports/mail/claws-mail/patches/patch-src_messageview_c
landry d011b2b6e0 Update to claws-mail 3.8.1 and plugins :
- attremover 1.0.14
- htmlviewer 0.32
- notification 0.30
- rssyl 0.33
- vcalendar 2.0.13

While here add patches for upstream bugs #2840, #2841 and #2842. Add
links to corresponding patches for tracking purposes.

All from Christopher Zimmermann, thanks!
2012-06-29 14:02:54 +00:00

17 lines
721 B
Plaintext

$OpenBSD: patch-src_messageview_c,v 1.1 2012/06/29 14:02:54 landry Exp $
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2640
--- src/messageview.c.orig Wed Jun 27 11:05:23 2012
+++ src/messageview.c Thu Jun 28 00:13:06 2012
@@ -988,8 +988,9 @@ static gint disposition_notification_send(MsgInfo *msg
extract_address(orig_to);
}
if (msginfo->subject && *(msginfo->subject)) {
- enc_sub = g_malloc0(strlen(msginfo->subject)*8);
- qp_encode_line(enc_sub, (const guchar *)msginfo->subject);
+ gint len = strlen(msginfo->subject);
+ enc_sub = g_malloc0(len*8);
+ qp_encode(TRUE, enc_sub, (const guchar *)msginfo->subject, len);
g_strstrip(enc_sub);
}
ok = fprintf(fp,"MIME-Version: 1.0\n"