Changeset 4544


Ignore:
Timestamp:
Jun 26, 2013 1:02:02 AM (11 years ago)
Author:
bennylp
Message:

Re #1668: fixed silly crash in pjsua_media.c:245 caused by r4543

File:
1 edited

Legend:

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

    r4543 r4544  
    240240    pj_status_t status = PJ_SUCCESS; 
    241241    char addr_buf[PJ_INET6_ADDRSTRLEN+10]; 
    242     pjsua_acc *acc; 
     242    pjsua_acc *acc = &pjsua_var.acc[call_med->call->acc_id]; 
    243243    pj_sock_t sock[2]; 
    244244 
    245245    use_ipv6 = (acc->cfg.ipv6_media_use != PJSUA_IPV6_DISABLED); 
    246246    af = use_ipv6 ? pj_AF_INET6() : pj_AF_INET(); 
    247  
    248     acc = &pjsua_var.acc[call_med->call->acc_id]; 
    249247 
    250248    /* Make sure STUN server resolution has completed */ 
Note: See TracChangeset for help on using the changeset viewer.