aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2006-11-17 14:59:10 +0000
committerVincent Richard <[email protected]>2006-11-17 14:59:10 +0000
commit84078f6bc15ae4cf2a85d738dde634da7cb61346 (patch)
treeebd8c7db4729d324efb31e5dba368f6d98a22936
parentFixed reference + do not clear stream in adapters. (diff)
downloadvmime-84078f6bc15ae4cf2a85d738dde634da7cb61346.tar.gz
vmime-84078f6bc15ae4cf2a85d738dde634da7cb61346.zip
Fixed typo causing bad line length computation in RFC-2047 Base64 output.
-rw-r--r--src/wordEncoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wordEncoder.cpp b/src/wordEncoder.cpp
index e5da3c78..943c65eb 100644
--- a/src/wordEncoder.cpp
+++ b/src/wordEncoder.cpp
@@ -207,7 +207,7 @@ const string wordEncoder::getNextChunk(const string::size_type maxLength)
if (m_encoding == ENCODING_B64)
{
outputCount = std::max(static_cast <string::size_type>(4),
- (encodeBytes.length() * 4) / 3);
+ (encodeBuffer.length() * 4) / 3);
}
else // ENCODING_QP
{