Ignore:
Timestamp:
Nov 11, 2009 12:33:00 AM (11 years ago)
Author:
bennylp
Message:

Misc (#951): undo r3012, and silently adjust max_calls to PJSUA_MAX_CALLS instead if it is greater

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c

    r2955 r3013  
    133133    /* Copy config */ 
    134134    pjsua_config_dup(pjsua_var.pool, &pjsua_var.ua_cfg, cfg); 
     135 
     136    /* Verify settings */ 
     137    if (pjsua_var.ua_cfg.max_calls >= PJSUA_MAX_CALLS) { 
     138        pjsua_var.ua_cfg.max_calls = PJSUA_MAX_CALLS; 
     139    } 
    135140 
    136141    /* Check the route URI's and force loose route if required */ 
Note: See TracChangeset for help on using the changeset viewer.