Navigation


Changeset 1089:5f622da7f259 in freeDiameter


Ignore:
Timestamp:
May 5, 2013, 4:33:56 AM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Fix issues in extensions

Location:
extensions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_sip/app_sip.c

    r1088 r1089  
    5050
    5151struct disp_hdl * app_sip_default_hdl=NULL;
     52struct session_handler * ds_sess_hdl;
    5253
    5354//configuration stucture
     
    212213                return EINVAL;
    213214       
     215        CHECK_FCT(fd_sess_handler_create(&ds_sess_hdl, (void *)free, NULL, NULL));
     216       
    214217        //Creation of thread for Registration Termination       
    215218        if(pthread_create(&rtr_thread, NULL,rtr_socket, NULL))
     
    235238       
    236239        (void) fd_disp_unregister(&app_sip_MAR_hdl, NULL);
     240        CHECK_FCT_DO( fd_sess_handler_destroy(&ds_sess_hdl, NULL),return);
    237241       
    238242       
  • extensions/dbg_interactive/sessions.i

    r1088 r1089  
    194194                struct sess_state * st = NULL;
    195195                PyObject * state = NULL;
    196                 ret = fd_sess_state_retrieve_internal(handler, $self, (void *) &st);
     196                ret = fd_sess_state_retrieve(handler, $self, (void *) &st);
    197197                if (ret != 0) {
    198198                        DI_ERROR(ret, NULL, NULL);
Note: See TracChangeset for help on using the changeset viewer.