From 89c5355cb8c15f313b3cdf2aedc9a5e65ce9ef32 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 28 Feb 2014 23:30:42 +0500 Subject: [PATCH] FS-6168 --resolve --- libs/sofia-sip/libsofia-sip-ua/msg/msg_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)