Changeset 854
- Timestamp:
- Dec 15, 2006 11:33:34 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_parser.c
r839 r854 1533 1533 pj_scanner *scanner) 1534 1534 { 1535 /* Some header fields allow empty elements in the value: 1536 * Accept, Allow, Supported 1537 */ 1538 if (*scanner->curptr == '\r' || *scanner->curptr == '\n') { 1539 goto end; 1540 } 1541 1535 1542 pj_scan_get( scanner, &pjsip_NOT_COMMA_OR_NEWLINE, &hdr->values[0]); 1536 1543 hdr->count++; … … 1542 1549 hdr->count++; 1543 1550 } 1551 1552 end: 1544 1553 parse_hdr_end(scanner); 1545 1554 }
Note: See TracChangeset
for help on using the changeset viewer.