summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2012-08-14 12:16:03 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2012-08-14 12:16:03 (GMT)
commit8229cd20b5800a37833a710706844330ce68b66b (patch)
tree9f23ec9a91f01d873ae717d628d7b9cb68e59bd7
parente73db163b6d998fcd48a34858bb373323a239558 (diff)
downloadkolab-utils-8229cd20b5800a37833a710706844330ce68b66b.tar.gz
We must get rid of CRLF linefeeds first.
-rw-r--r--upgradetool/upgradeutilities.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/upgradetool/upgradeutilities.cpp b/upgradetool/upgradeutilities.cpp
index 1527e89..3074c6a 100644
--- a/upgradetool/upgradeutilities.cpp
+++ b/upgradetool/upgradeutilities.cpp
@@ -62,7 +62,7 @@ KMime::Message::Ptr upgradeMessage(KMime::Message::Ptr msg)
QString upgradeMime(const QByteArray &input)
{
KMime::Message::Ptr msg = KMime::Message::Ptr(new KMime::Message);
- msg->setContent( input );
+ msg->setContent( KMime::CRLFtoLF(input) );
msg->parse();
msg->content(KMime::ContentIndex());