Changeset 82 for pjproject/trunk/pjsip/src/pjsip/sip_uri.c
- Timestamp:
- Nov 23, 2005 8:56:30 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_uri.c
r77 r82 88 88 PJ_DEF(pj_ssize_t) pjsip_param_print_on( const pjsip_param *param_list, 89 89 char *buf, pj_size_t size, 90 const pj_cis_t *pname_spec, 91 const pj_cis_t *pvalue_spec, 90 92 int sep) 91 93 { … … 104 106 do { 105 107 *buf++ = (char)sep; 106 copy_advance_escape(buf, p->name, pjsip_PARAM_CHAR_SPEC);108 copy_advance_escape(buf, p->name, (*pname_spec)); 107 109 if (p->value.slen) { 108 110 *buf++ = '='; 109 copy_advance_escape(buf, p->value, pjsip_PARAM_CHAR_SPEC);111 copy_advance_escape(buf, p->value, (*pvalue_spec)); 110 112 } 111 113 p = p->next; … … 309 311 310 312 /* Other param. */ 311 printed = pjsip_param_print_on(&url->other_param, buf, endbuf-buf, ';'); 313 printed = pjsip_param_print_on(&url->other_param, buf, endbuf-buf, 314 &pjsip_PARAM_CHAR_SPEC, 315 &pjsip_PARAM_CHAR_SPEC, ';'); 312 316 if (printed < 0) 313 317 return -1; … … 449 453 * string.. 450 454 */ 451 PJ_TODO(MORE_COMPLIANT_HEADER_PARAM_COMPARISON_IN_URL);452 453 455 if (pj_stricmp(&p1->value, &p2->value) != 0) 454 456 return PJSIP_ECMPHEADERPARAM;
Note: See TracChangeset
for help on using the changeset viewer.