Ignore:
Timestamp:
Feb 14, 2006 9:15:30 PM (18 years ago)
Author:
bennylp
Message:

Ported pjsip to WinCE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_parser.c

    r145 r184  
    460460 
    461461    /* Equal length and equal hash. compare the strings. */ 
    462     return pj_native_strcmp(r1->hname, name); 
     462    return pj_ansi_strcmp(r1->hname, name); 
    463463} 
    464464 
     
    666666 
    667667    /* 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"); 
    669669    if (pos == NULL) { 
    670670        return PJSIP_EPARTIALMSG; 
     
    675675 
    676676    /* Find "Content-Length" header the hard way. */ 
    677     line = pj_native_strchr(buf, '\n'); 
     677    line = pj_ansi_strchr(buf, '\n'); 
    678678    while (line && line < hdr_end) { 
    679679        ++line; 
     
    726726 
    727727        /* Go to next line. */ 
    728         line = pj_native_strchr(line, '\n'); 
     728        line = pj_ansi_strchr(line, '\n'); 
    729729    } 
    730730 
Note: See TracChangeset for help on using the changeset viewer.