diff options
Diffstat (limited to 'libraries/libvmime-zarafa/zarafa-patches/vmime-default-transfer-encoding.diff')
-rw-r--r-- | libraries/libvmime-zarafa/zarafa-patches/vmime-default-transfer-encoding.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libraries/libvmime-zarafa/zarafa-patches/vmime-default-transfer-encoding.diff b/libraries/libvmime-zarafa/zarafa-patches/vmime-default-transfer-encoding.diff new file mode 100644 index 0000000000..51f31296dc --- /dev/null +++ b/libraries/libvmime-zarafa/zarafa-patches/vmime-default-transfer-encoding.diff @@ -0,0 +1,12 @@ +--- libvmime-0.7.1.orig/src/body.cpp 2007-01-26 14:44:10.259563000 +0100 ++++ libvmime-0.7.1.patched/src/body.cpp 2007-07-13 12:14:30.699846500 +0200 +@@ -465,6 +465,9 @@ + const contentEncodingField& cef = dynamic_cast<contentEncodingField&> + (*m_header->findField(fields::CONTENT_TRANSFER_ENCODING)); + ++ if (cef.getValue().getName().empty()) ++ return (vmime::encoding(encodingTypes::SEVEN_BIT)); ++ + return (cef.getValue()); + } + catch (exceptions::no_such_field&) |