Ignore:
Timestamp:
Mar 17, 2008 4:05:35 PM (15 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/pjmedia/src/pjmedia/transport_srtp.c

    r1860 r1873  
    565565                     PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXSIZE, PJ_ENOMEM); 
    566566 
    567     status = pjmedia_transport_get_info(srtp->real_tp, info); 
    568     if (status != PJ_SUCCESS) 
    569         return status; 
    570  
    571567    srtp_info.active = srtp->session_inited; 
    572568    srtp_info.rx_policy = srtp->rx_policy; 
     
    579575              sizeof(srtp_info)); 
    580576 
    581     return PJ_SUCCESS; 
     577    return pjmedia_transport_get_info(srtp->real_tp, info); 
    582578} 
    583579 
Note: See TracChangeset for help on using the changeset viewer.