- Timestamp:
- Oct 13, 2010 11:17:51 AM (14 years ago)
- Location:
- pjproject/trunk/pjsip/src/pjsip
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_multipart.c
r3340 r3342 522 522 if (ctype_param) { 523 523 boundary = ctype_param->value; 524 if (boundary.slen>2 && *boundary.ptr=='"') { 525 /* Remove quote */ 526 boundary.ptr++; 527 boundary.slen -= 2; 528 } 524 529 TRACE_((THIS_FILE, "Boundary is specified: '%.*s'", (int)boundary.slen, 525 530 boundary.ptr)); -
pjproject/trunk/pjsip/src/pjsip/sip_parser.c
r3340 r3342 1857 1857 while (*scanner->curptr == ';') { 1858 1858 pjsip_param *param = PJ_POOL_ALLOC_T(ctx->pool, pjsip_param); 1859 int_parse_param(scanner, ctx->pool, ¶m->name, ¶m->value, 1860 PJSIP_PARSE_REMOVE_QUOTE); 1859 int_parse_param(scanner, ctx->pool, ¶m->name, ¶m->value, 0); 1861 1860 pj_list_push_back(&hdr->media.param, param); 1862 1861 }
Note: See TracChangeset
for help on using the changeset viewer.