summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-03-23 13:21:01 +0000
committerBenny Prijono <bennylp@teluu.com>2009-03-23 13:21:01 +0000
commit8d783944c28151c370d11fa15e001f2f4e8a3b6c (patch)
tree2fa4b48d1fb4f18305dd0dc7662d388724216a58
parent50fce0eea873b464d45bb6abadae24cbb9980182 (diff)
Ticket #725: backported changes from ticket #724
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.0@2542 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjsip/src/pjsua-lib/pjsua_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_core.c b/pjsip/src/pjsua-lib/pjsua_core.c
index 0448d681..4b7c4baa 100644
--- a/pjsip/src/pjsua-lib/pjsua_core.c
+++ b/pjsip/src/pjsua-lib/pjsua_core.c
@@ -89,7 +89,7 @@ PJ_DEF(void) pjsua_config_default(pjsua_config *cfg)
{
pj_bzero(cfg, sizeof(*cfg));
- cfg->max_calls = 4;
+ cfg->max_calls = ((PJSUA_MAX_CALLS) < 4) ? (PJSUA_MAX_CALLS) : 4;
cfg->thread_cnt = 1;
cfg->nat_type_in_sdp = 1;
cfg->force_lr = PJ_TRUE;