Changeset 3771


Ignore:
Timestamp:
Sep 22, 2011 8:13:15 AM (13 years ago)
Author:
bennylp
Message:

Fixed bug in re #1376: pjsua_call_info() could not be called when state is disconnected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjsip/src/pjsua-lib/pjsua_call.c

    r3768 r3771  
    12841284    PJSUA_LOCK(); 
    12851285 
    1286     if (!pjsua_call_is_active(call_id)) { 
     1286    call = &pjsua_var.calls[call_id]; 
     1287 
     1288    if (!call->inv) { 
    12871289        PJSUA_UNLOCK(); 
    12881290        return PJSIP_ESESSIONTERMINATED; 
    12891291    } 
    1290  
    1291     call = &pjsua_var.calls[call_id]; 
    12921292 
    12931293    /* id and role */ 
Note: See TracChangeset for help on using the changeset viewer.