openbsd-ports/www/seamonkey/patches/patch-mailnews_mime_src_mimemsg_cpp
martynas dac852cf9d - make it check LOCALBASE/share/mozilla-dicts, the global dictionaries
location for all mozilla ports;
- regen patches (due to the current changes);
- bump pkgname;
discussed with naddy@, kurt@, ajacoutot@
ok naddy@
2007-04-06 14:39:33 +00:00

13 lines
502 B
Plaintext

$OpenBSD: patch-mailnews_mime_src_mimemsg_cpp,v 1.2 2007/04/06 14:39:34 martynas Exp $
--- mailnews/mime/src/mimemsg.cpp.orig Thu Jun 10 18:58:10 2004
+++ mailnews/mime/src/mimemsg.cpp Fri Apr 6 17:27:27 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;