openbsd-ports/mail/mozilla-thunderbird/patches/patch-mailnews_mime_src_mimemsg_cpp
martynas 82b3297457 major update to mozilla-thunderbird-2.0.0.0. also:
- use official branding;
- external nss;
- don't force optimizations;
- make it work with misc/mozilla-dicts;
tested by many, including ajacoutot@, ian@, matthieu@, Mike Erdely, Niko
Itajarvi, Simon Kuhnle
input/ok kurt@, wilfried@
2007-04-30 22:40:31 +00:00

13 lines
502 B
Plaintext

$OpenBSD: patch-mailnews_mime_src_mimemsg_cpp,v 1.2 2007/04/30 22:40:31 martynas Exp $
--- mailnews/mime/src/mimemsg.cpp.orig Thu Jun 10 18:58:10 2004
+++ mailnews/mime/src/mimemsg.cpp Wed Apr 25 18:02:45 2007
@@ -522,7 +522,7 @@ MimeMessage_close_headers (MimeObject *obj)
{
PRUint32 flags = 0;
char dummy = 0;
- if (sscanf(xmoz, " %lx %c", &flags, &dummy) == 1 &&
+ if (sscanf(xmoz, " %x %c", &flags, &dummy) == 1 &&
flags & MSG_FLAG_PARTIAL)
{
obj->options->html_closure = obj;