- Timestamp:
- Apr 28, 2007 1:00:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/split-3rd-party/pjsip/src/pjsip/sip_msg.c
r1127 r1217 1726 1726 copy_advance_pair(buf, ";received=", 10, hdr->recvd_param); 1727 1727 copy_advance_pair(buf, ";branch=", 8, hdr->branch_param); 1728 1728 1729 /* Via's via-extension params should be printed with token spec 1730 * according to RFC 3261's generic-param production, but some 1731 * endpoint uses pname/pvalue production for these params, by 1732 * sending to us Via parameter containing ":". 1733 * 1734 * So for interoperability sake, lets allow ":" in Via param. 1735 1729 1736 printed = pjsip_param_print_on(&hdr->other_param, buf, endbuf-buf, 1730 1737 &pjsip_TOKEN_SPEC, 1731 &pjsip_TOKEN_SPEC, ';'); 1738 &pjsip_TOKEN_SPEC, ';'); 1739 */ 1740 printed = pjsip_param_print_on(&hdr->other_param, buf, endbuf-buf, 1741 &pjsip_PARAM_CHAR_SPEC, 1742 &pjsip_PARAM_CHAR_SPEC, ';'); 1743 1732 1744 if (printed < 0) 1733 1745 return -1;
Note: See TracChangeset
for help on using the changeset viewer.