aboutsummaryrefslogtreecommitdiffstats
path: root/src/message.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/message.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/message.cpp b/src/message.cpp
index 1b4f0867..3fa9b6a3 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -61,9 +61,14 @@ const string message::generate(const string::size_type maxLineLength,
}
-void message::parse(const string& buffer)
+
+void message::generate
+ (ref <utility::outputStream> os,
+ const string::size_type maxLineLength,
+ const string::size_type curLinePos,
+ string::size_type* newLinePos) const
{
- bodyPart::parse(buffer);
+ bodyPart::generate(os, maxLineLength, curLinePos, newLinePos);
}