Ignore:
Timestamp:
Mar 17, 2008 4:05:35 PM (17 years ago)
Author:
bennylp
Message:

More ticket #479: bug in pjmedia_transport_get_info(), the info should be initialized by caller

File:
1 edited

Legend:

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

    r1860 r1873  
    321321 
    322322    /* Get media socket info */ 
     323    pjmedia_transport_info_init(&tpinfo); 
    323324    pjmedia_transport_get_info(pjsua_var.calls[0].med_tp, &tpinfo); 
    324325 
     
    20652066 
    20662067        /* MSVC complains about tpinfo not being initialized */ 
    2067         pj_bzero(&tpinfo, sizeof(tpinfo)); 
    2068  
     2068        //pj_bzero(&tpinfo, sizeof(tpinfo)); 
     2069 
     2070        pjmedia_transport_info_init(&tpinfo); 
    20692071        pjmedia_transport_get_info(call->med_tp, &tpinfo); 
    20702072 
Note: See TracChangeset for help on using the changeset viewer.