aboutsummaryrefslogtreecommitdiffstats
path: root/src/body.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2004-12-15 20:28:09 +0000
committerVincent Richard <[email protected]>2004-12-15 20:28:09 +0000
commit50a6a9cdfacfa4e1aaa5a35fe8c3bc6ac114fa57 (patch)
treef18d5df3baa88b63360155b1f53653dcc9630165 /src/body.cpp
parentWorking on 'maildir' implementation. (diff)
downloadvmime-50a6a9cdfacfa4e1aaa5a35fe8c3bc6ac114fa57.tar.gz
vmime-50a6a9cdfacfa4e1aaa5a35fe8c3bc6ac114fa57.zip
Added parsing bounds on 'component'.
Diffstat (limited to 'src/body.cpp')
-rw-r--r--src/body.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/body.cpp b/src/body.cpp
index da279b9b..5e369d4b 100644
--- a/src/body.cpp
+++ b/src/body.cpp
@@ -202,6 +202,8 @@ void body::parse(const string& buffer, const string::size_type position,
m_contents.setData(buffer, position, end, getEncoding());
}
+ setParsedBounds(position, end);
+
if (newPosition)
*newPosition = end;
}