summaryrefslogtreecommitdiff
path: root/protocols/MSN/msn_mime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MSN/msn_mime.cpp')
-rw-r--r--protocols/MSN/msn_mime.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/MSN/msn_mime.cpp b/protocols/MSN/msn_mime.cpp
index 8351673308..b925e101bb 100644
--- a/protocols/MSN/msn_mime.cpp
+++ b/protocols/MSN/msn_mime.cpp
@@ -71,6 +71,8 @@ unsigned MimeHeaders::allocSlot(void)
void MimeHeaders::addString(const char* name, const char* szValue, unsigned flags)
{
+ if (szValue == NULL) return;
+
MimeHeader& H = mVals[allocSlot()];
H.name = name;
H.value = szValue;