diff options
author | Vincent Richard <[email protected]> | 2004-11-07 10:33:01 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2004-11-07 10:33:01 +0000 |
commit | 5868c87506b82dbb5d8916d61b9e1528a755b686 (patch) | |
tree | 87defd00ebd954fbad3d9786b9a28bebaa3735ba /src/relay.cpp | |
parent | Added tests for media type. (diff) | |
download | vmime-5868c87506b82dbb5d8916d61b9e1528a755b686.tar.gz vmime-5868c87506b82dbb5d8916d61b9e1528a755b686.zip |
Moved encodeAndFold() and decodeAndUnfold() functions from "base.cpp" to "text.cpp".
Diffstat (limited to 'src/relay.cpp')
-rw-r--r-- | src/relay.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/relay.cpp b/src/relay.cpp index 25f3aac7..2edc9a28 100644 --- a/src/relay.cpp +++ b/src/relay.cpp @@ -213,8 +213,8 @@ void relay::generate(utility::outputStream& os, const string::size_type maxLineL oss << "; " << m_date.generate(); - encodeAndFoldText(os, text(oss.str()), maxLineLength, - curLinePos, newLinePos, encodeAndFoldFlags::forceNoEncoding); + text(oss.str()).encodeAndFold(os, maxLineLength, + curLinePos, newLinePos, text::FORCE_NO_ENCODING); } |