]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6168 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 28 Feb 2014 18:30:42 +0000 (23:30 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 28 Feb 2014 18:30:51 +0000 (23:30 +0500)
libs/sofia-sip/libsofia-sip-ua/msg/msg_parser.c

index c3124456b56cb558af561fad4003e55b39465836..2ca0a358455382bcdbe6a6853ca0714f8f3c3080 100644 (file)
@@ -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)