mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 11:31:53 +01:00
Small fix on MessageHeader decodeWord.
This commit is contained in:
@@ -339,7 +339,7 @@ std::string MessageHeader::decodeWord(const std::string& text, const std::string
|
|||||||
|
|
||||||
// check if there are standar text before the rfc2047 chunk, and if so, copy it.
|
// check if there are standar text before the rfc2047 chunk, and if so, copy it.
|
||||||
if (pos > 0) {
|
if (pos > 0) {
|
||||||
outs += tmp.substr(0, pos - 1);
|
outs += tmp.substr(0, pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
// remove text already copied.
|
// remove text already copied.
|
||||||
|
|||||||
Reference in New Issue
Block a user