Changeset 5280 for pjproject/trunk/pjsip/src/pjsip/sip_parser.c
- Timestamp:
- Apr 20, 2016 1:58:15 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_parser.c
r5275 r5280 1150 1150 pvalue->slen -= 2; 1151 1151 } 1152 } else if (*scanner->curptr == '[') {1152 // } else if (*scanner->curptr == '[') { 1153 1153 /* pvalue can be a quoted IPv6; in this case, the 1154 1154 * '[' and ']' quote characters are to be removed 1155 * from the pvalue. 1155 * from the pvalue. 1156 * 1157 * Update: this seems to be unnecessary and may cause 1158 * parsing error for cases such as IPv6 reference with 1159 * port number. 1156 1160 */ 1157 pj_scan_get_char(scanner);1158 pj_scan_get_until_ch(scanner, ']', pvalue);1159 pj_scan_get_char(scanner);1161 // pj_scan_get_char(scanner); 1162 // pj_scan_get_until_ch(scanner, ']', pvalue); 1163 // pj_scan_get_char(scanner); 1160 1164 } else if(pj_cis_match(spec, *scanner->curptr)) { 1161 1165 parser_get_and_unescape(scanner, pool, spec, esc_spec, pvalue);
Note: See TracChangeset
for help on using the changeset viewer.