Handle empty lines before the first mbox delimiter gracefully. This fixes compaction of notoriously non-compactible mboxes.
Handle empty lines before the first mbox delimiter gracefully. This fixes
compaction of notoriously non-compactible mboxes.

Don't reset the needCompacting flag until the compaction has actually
suceeded.

CCMAIL: 39290-done@bugs.kde.org
CCMAIL: 43773-done@bugs.kde.org

One cookie my way, please.

svn path=/trunk/kdepim/; revision=275119

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi