fix thunderbird hack breakage for 1,14,4

This commit is contained in:
Jean-Francois Dockes 2010-11-29 22:43:41 +01:00
parent a9e36734c8
commit 2f837a89b3

View File

@ -427,8 +427,8 @@ bool MimeHandlerMbox::next_document()
m_lineno++;
int ll;
stripendnl(line, ll);
LOGDEB2(("Start: hadempty %d ll %d Line: [%s]\n",
hademptyline, ll, line));
LOGDEB2(("Start: hadempty %d lineno %d ll %d Line: [%s]\n",
hademptyline, m_lineno, ll, line));
if (ll <= 0) {
hademptyline = true;
continue;
@ -471,6 +471,7 @@ bool MimeHandlerMbox::next_document()
// Rewind to start of "From " line
fseek(fp, end, SEEK_SET);
m_lineno--;
hademptyline = true;
break;
}
}