Fixed typo causing bad line length computation in RFC-2047 Base64 output.
This commit is contained in:
parent
64d91947c3
commit
84078f6bc1
@ -207,7 +207,7 @@ const string wordEncoder::getNextChunk(const string::size_type maxLength)
|
|||||||
if (m_encoding == ENCODING_B64)
|
if (m_encoding == ENCODING_B64)
|
||||||
{
|
{
|
||||||
outputCount = std::max(static_cast <string::size_type>(4),
|
outputCount = std::max(static_cast <string::size_type>(4),
|
||||||
(encodeBytes.length() * 4) / 3);
|
(encodeBuffer.length() * 4) / 3);
|
||||||
}
|
}
|
||||||
else // ENCODING_QP
|
else // ENCODING_QP
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user