Changeset 1757 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
- Timestamp:
- Jan 26, 2008 10:45:52 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r1745 r1757 254 254 255 255 return PJSUA_INVALID_ID; 256 }257 258 static pj_bool_t pj_stristr(const pj_str_t *str, const pj_str_t *substr)259 {260 int i;261 262 for (i=0; i<=(str->slen-substr->slen); ++i) {263 pj_str_t s;264 s.ptr = str->ptr+i;265 s.slen = substr->slen;266 267 if (pj_stricmp(&s, substr)==0)268 return PJ_TRUE;269 }270 return PJ_FALSE;271 256 } 272 257
Note: See TracChangeset
for help on using the changeset viewer.