aboutsummaryrefslogtreecommitdiffstats
path: root/src/headerField.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);
}