aboutsummaryrefslogtreecommitdiffstats
path: root/src/bodyPart.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/bodyPart.cpp
parentWorking on 'maildir' implementation. (diff)
downloadvmime-50a6a9cdfacfa4e1aaa5a35fe8c3bc6ac114fa57.tar.gz
vmime-50a6a9cdfacfa4e1aaa5a35fe8c3bc6ac114fa57.zip
Added parsing bounds on 'component'.
Diffstat (limited to 'src/bodyPart.cpp')
-rw-r--r--src/bodyPart.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bodyPart.cpp b/src/bodyPart.cpp
index ec046ce2..90962c7c 100644
--- a/src/bodyPart.cpp
+++ b/src/bodyPart.cpp
@@ -40,6 +40,8 @@ void bodyPart::parse(const string& buffer, const string::size_type position,
// Parse the body contents
m_body.parse(buffer, pos, end, NULL);
+ setParsedBounds(position, end);
+
if (newPosition)
*newPosition = end;
}