Changeset 1957 for pjproject/trunk/pjsip/src/pjsip/sip_parser.c
- Timestamp:
- May 15, 2008 10:07:36 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_parser.c
r1954 r1957 1835 1835 1836 1836 while (!pj_scan_is_eof(scanner) && *scanner->curptr!='\r' && 1837 *scanner->curptr =='\n')1837 *scanner->curptr!='\n') 1838 1838 { 1839 1839 if (*scanner->curptr=='(') { 1840 1840 pj_scan_get_quote(scanner, '(', ')', &hdr->comment); 1841 /* Trim the leading and ending parens */ 1842 hdr->comment.ptr++; 1843 hdr->comment.slen -= 2; 1841 1844 } else if (*scanner->curptr==';') { 1842 1845 pjsip_param *prm = PJ_POOL_ALLOC_T(ctx->pool, pjsip_param);
Note: See TracChangeset
for help on using the changeset viewer.