aboutsummaryrefslogtreecommitdiffstats
path: root/src/headerField.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2010-05-18 13:52:27 +0000
committerVincent Richard <[email protected]>2010-05-18 13:52:27 +0000
commit9196d5c3421d828708f3667a94b2e074bfafdeca (patch)
tree154fe458b34c0c651c6ab6b2f5a375a3ba0bb599 /src/headerField.cpp
parentFixed parsing of header field value with no data on the first line (folding). (diff)
downloadvmime-9196d5c3421d828708f3667a94b2e074bfafdeca.tar.gz
vmime-9196d5c3421d828708f3667a94b2e074bfafdeca.zip
Added helper function to construct parsed message from net message. Splitted IMAP source files.
Diffstat (limited to 'src/headerField.cpp')
-rw-r--r--src/headerField.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/headerField.cpp b/src/headerField.cpp
index cdde8ece..d1d42368 100644
--- a/src/headerField.cpp
+++ b/src/headerField.cpp
@@ -300,7 +300,8 @@ const std::vector <ref <const component> > headerField::getChildComponents() con
{
std::vector <ref <const component> > list;
- list.push_back(m_value);
+ if (m_value)
+ list.push_back(m_value);
return (list);
}