From: Anthony Minessale Date: Fri, 28 Feb 2014 18:30:42 +0000 (+0500) Subject: FS-6168 --resolve X-Git-Tag: v1.2.23~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89c5355cb8c15f313b3cdf2aedc9a5e65ce9ef32;p=thirdparty%2Ffreeswitch.git FS-6168 --resolve --- diff --git a/libs/sofia-sip/libsofia-sip-ua/msg/msg_parser.c b/libs/sofia-sip/libsofia-sip-ua/msg/msg_parser.c index c3124456b5..2ca0a35845 100644 --- a/libs/sofia-sip/libsofia-sip-ua/msg/msg_parser.c +++ b/libs/sofia-sip/libsofia-sip-ua/msg/msg_parser.c @@ -1680,7 +1680,7 @@ size_t msg_header_prepare(msg_mclass_t const *mc, int flags, n += m; if (hc->hc_name) { - if (!comma_list || !next || next == *return_next) + if (!hc->hc_name[0] || !comma_list || !next || next == *return_next) s = CRLF, m = 2; /* Else encode continuation */ else if (compact)