Ignore:
Timestamp:
Mar 10, 2010 1:33:25 PM (15 years ago)
Author:
bennylp
Message:

More #1032 (new SIP TCP/TLS transport callback):

  • PJSUA-LIB transport callback, if installed, will call the previously registered callback, to allow multiple transport callbacks to be installed
  • there seem to be a bug with the use of "pjsip_tp_state_callback" everywhere (the "pjsip_tp_state_callback" type is pointer, but most variables of this type are declared to pointer too)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport_tls.c

    r3110 r3119  
    177177static void tls_init_shutdown(struct tls_transport *tls, pj_status_t status) 
    178178{ 
    179     pjsip_tp_state_callback *state_cb; 
     179    pjsip_tp_state_callback state_cb; 
    180180 
    181181    if (tls->close_reason == PJ_SUCCESS) 
     
    978978    pj_ssl_sock_info ssl_info; 
    979979    char addr[PJ_INET6_ADDRSTRLEN+10]; 
    980     pjsip_tp_state_callback *state_cb; 
     980    pjsip_tp_state_callback state_cb; 
    981981    pj_bool_t is_shutdown; 
    982982    pj_status_t status; 
     
    13381338    pj_ssl_sock_info ssl_info; 
    13391339    pj_sockaddr_in addr, *tp_addr; 
    1340     pjsip_tp_state_callback *state_cb; 
     1340    pjsip_tp_state_callback state_cb; 
    13411341    pj_bool_t is_shutdown; 
    13421342 
Note: See TracChangeset for help on using the changeset viewer.