Ignore:
Timestamp:
Mar 10, 2010 1:33:25 PM (14 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_tcp.c

    r3113 r3119  
    170170static void tcp_init_shutdown(struct tcp_transport *tcp, pj_status_t status) 
    171171{ 
    172     pjsip_tp_state_callback *state_cb; 
     172    pjsip_tp_state_callback state_cb; 
    173173 
    174174    if (tcp->close_reason == PJ_SUCCESS) 
     
    953953    struct tcp_transport *tcp; 
    954954    char addr[PJ_INET6_ADDRSTRLEN+10]; 
    955     pjsip_tp_state_callback *state_cb; 
     955    pjsip_tp_state_callback state_cb; 
    956956    pj_status_t status; 
    957957 
     
    12631263    pj_sockaddr_in addr; 
    12641264    int addrlen; 
    1265  
    1266     pjsip_tp_state_callback *state_cb; 
     1265    pjsip_tp_state_callback state_cb; 
    12671266 
    12681267    tcp = (struct tcp_transport*) pj_activesock_get_user_data(asock); 
Note: See TracChangeset for help on using the changeset viewer.