diff options
Diffstat (limited to 'pjsip/src/pjsua-lib')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c index 3d030841..f4e90aa8 100644 --- a/pjsip/src/pjsua-lib/pjsua_call.c +++ b/pjsip/src/pjsua-lib/pjsua_call.c @@ -259,7 +259,7 @@ static pj_bool_t pj_stristr(const pj_str_t *str, const pj_str_t *substr) { int i; - for (i=0; i<(str->slen-substr->slen); ++i) { + for (i=0; i<=(str->slen-substr->slen); ++i) { pj_str_t s; s.ptr = str->ptr+i; s.slen = substr->slen; |