From 84078f6bc15ae4cf2a85d738dde634da7cb61346 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Fri, 17 Nov 2006 14:59:10 +0000 Subject: [PATCH] Fixed typo causing bad line length computation in RFC-2047 Base64 output. --- src/wordEncoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (4), - (encodeBytes.length() * 4) / 3); + (encodeBuffer.length() * 4) / 3); } else // ENCODING_QP {