Fixed typo causing bad line length computation in RFC-2047 Base64 output.

This commit is contained in:
Vincent Richard 2006-11-17 14:59:10 +00:00
parent 64d91947c3
commit 84078f6bc1

View File

@ -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
{