Changeset 184 for pjproject/trunk/pjsip/src/pjsip/sip_parser.c
- Timestamp:
- Feb 14, 2006 9:15:30 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_parser.c
r145 r184 460 460 461 461 /* Equal length and equal hash. compare the strings. */ 462 return pj_ native_strcmp(r1->hname, name);462 return pj_ansi_strcmp(r1->hname, name); 463 463 } 464 464 … … 666 666 667 667 /* Find the end of header area by finding an empty line. */ 668 pos = pj_ native_strstr(buf, "\n\r\n");668 pos = pj_ansi_strstr(buf, "\n\r\n"); 669 669 if (pos == NULL) { 670 670 return PJSIP_EPARTIALMSG; … … 675 675 676 676 /* Find "Content-Length" header the hard way. */ 677 line = pj_ native_strchr(buf, '\n');677 line = pj_ansi_strchr(buf, '\n'); 678 678 while (line && line < hdr_end) { 679 679 ++line; … … 726 726 727 727 /* Go to next line. */ 728 line = pj_ native_strchr(line, '\n');728 line = pj_ansi_strchr(line, '\n'); 729 729 } 730 730
Note: See TracChangeset
for help on using the changeset viewer.