summaryrefslogtreecommitdiff
path: root/pjsip
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-01-25 09:02:33 +0000
committerBenny Prijono <bennylp@teluu.com>2008-01-25 09:02:33 +0000
commite0bbd6f1c88af6806147a134a5592a7e016227fb (patch)
treedacc1fae3d785041f5a75fe275bc5b03ba8aa2ca /pjsip
parent3b931e9df77113c75ed7cbcb7c1b3f6736834927 (diff)
More ticket #61: fix bug in secure signaling determination, and added --srtp-secure option in pjsua to control signaling security requirement for SRTP
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1745 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip')
-rw-r--r--pjsip/src/pjsua-lib/pjsua_call.c2
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;