Changeset 661 for pjproject/trunk


Ignore:
Timestamp:
Aug 7, 2006 1:22:43 PM (18 years ago)
Author:
bennylp
Message:

Fixed bug in --auto-conf option in pjsua

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r659 r661  
    12601260        if (app_config.auto_conf) { 
    12611261            pjsua_call_id call_ids[PJSUA_MAX_CALLS]; 
    1262             unsigned call_cnt=0; 
     1262            unsigned call_cnt=PJ_ARRAY_SIZE(call_ids); 
    12631263            unsigned i; 
    12641264 
     
    12671267             */ 
    12681268            pjsua_enum_calls(call_ids, &call_cnt); 
     1269 
    12691270            for (i=0; i<call_cnt; ++i) { 
    12701271                if (call_ids[i] == call_id) 
Note: See TracChangeset for help on using the changeset viewer.