diff options
author | George Hazan <george.hazan@gmail.com> | 2012-05-27 21:30:30 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-05-27 21:30:30 +0000 |
commit | 8549e48fbb8520027d4d8ba74b6f12f3042faebc (patch) | |
tree | f4aa951f6c13d179ca711ae5977eb38698dcaf52 /protocols/MSN/msn_mime.cpp | |
parent | d27904ad1988ba6f85228f3c0cb7de8379a3147b (diff) |
ipv6 sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@205 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/msn_mime.cpp')
-rw-r--r-- | protocols/MSN/msn_mime.cpp | 2 |
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;
|