diff options
author | Vincent Richard <[email protected]> | 2004-12-15 20:28:09 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2004-12-15 20:28:09 +0000 |
commit | 50a6a9cdfacfa4e1aaa5a35fe8c3bc6ac114fa57 (patch) | |
tree | f18d5df3baa88b63360155b1f53653dcc9630165 /src/mediaType.cpp | |
parent | Working on 'maildir' implementation. (diff) | |
download | vmime-50a6a9cdfacfa4e1aaa5a35fe8c3bc6ac114fa57.tar.gz vmime-50a6a9cdfacfa4e1aaa5a35fe8c3bc6ac114fa57.zip |
Added parsing bounds on 'component'.
Diffstat (limited to 'src/mediaType.cpp')
-rw-r--r-- | src/mediaType.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mediaType.cpp b/src/mediaType.cpp index 34e28cab..c16c316f 100644 --- a/src/mediaType.cpp +++ b/src/mediaType.cpp @@ -68,6 +68,8 @@ void mediaType::parse(const string& buffer, const string::size_type position, buffer.begin() + end)); } + setParsedBounds(position, end); + if (newPosition) *newPosition = end; } |