Re: [binc] crashes and corruption on 1.3.4

Jerry Lundström <[email protected]> Mon, 19 Dec 2005 09:05:31 +0100
Newsgroups gmane.mail.imap.binc.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------070707070907080805030103
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Alejandro Mery wrote:
> pop give the mails right, the files are right, but on 6 different MUAs via
> imap i get specific mails corrupted.

Please try this patch and see if it helps.

-- 
Jerry Lundström, System Developer
The Division of IT and media, Stockholm University, Sweden
+46 (0)8 16 19 99 / http://www.it.su.se

--------------070707070907080805030103
Content-Type: text/plain;
 name="bincimap-1.3.4-macandmime.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="bincimap-1.3.4-macandmime.patch"

Index: bincimap-1.3.4/src/mime-printdoc.cc
===================================================================
--- bincimap-1.3.4/src/mime-printdoc.cc	(revision 347)
+++ bincimap-1.3.4/src/mime-printdoc.cc	(working copy)
@@ -58,7 +58,7 @@
   }
 
   mimeSource->reset();
-  mimeSource->seek(headerstartoffsetcrlf);
+  mimeSource->seek(headerstartoffsetcrlf + startoffset);
 
   char c;
   for (unsigned int i = 0; i < length; ++i) {

--------------070707070907080805030103--