In bug 600798 there are two vcard that are suposed to work with the code added in bug 79709. The first one works, the second one doesn't.
Files can be found at http://hg.mozilla.org/qa/litmus-data/file/947e21f848da/thunderbird/import the emptylines_vcard_addressbook.vcf is the faulty file.
*** Bug 674841 has been marked as a duplicate of this bug. ***
Created attachment 622993 [details] [diff] [review]
Filter out the empty line.
Comment on attachment 622993 [details] [diff] [review]
you could instead use do while and pass in aMore directly to ReadLine, so the code would look like this:
rv = aLineStream->ReadLine(line, aMore);
while (line.IsEmpty() && *aMore);