diff options
author | Vincent Richard <[email protected]> | 2016-10-06 19:50:21 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2016-10-06 19:50:21 +0000 |
commit | 265baf17aa671f78695aed137200d922ae14b633 (patch) | |
tree | 710c05fca609631bac27c1890f1e08a42eb937c9 | |
parent | Fixed #144: lasting resolving is not an error. (diff) | |
parent | Merge pull request #143 from jengelh/master (diff) | |
download | vmime-265baf17aa671f78695aed137200d922ae14b633.tar.gz vmime-265baf17aa671f78695aed137200d922ae14b633.zip |
Merge branch 'master' of https://github.com/kisli/vmime
-rw-r--r-- | src/vmime/headerField.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vmime/headerField.cpp b/src/vmime/headerField.cpp index b88a5cd2..a89704ab 100644 --- a/src/vmime/headerField.cpp +++ b/src/vmime/headerField.cpp @@ -135,7 +135,8 @@ shared_ptr <headerField> headerField::parseNext buffer.begin() + nameEnd); // Skip ':' character - ++pos; + while (pos < end && buffer[pos] == ':') + ++pos; // Skip spaces between ':' and the field contents while (pos < end && (buffer[pos] == ' ' || buffer[pos] == '\t')) |