Changeset 639:95a784729cac in freeDiameter for extensions/app_radgw/rgwx_echodrop.c
- Timestamp:
- Dec 20, 2010, 1:07:06 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_radgw/rgwx_echodrop.c
r403 r639 39 39 40 40 /* If a session is destroyed, empty the list of ed_saved_attribute */ 41 static void state_delete(void * arg, char * sid ) {41 static void state_delete(void * arg, char * sid, void * opaque) { 42 42 struct fd_list * list = (struct fd_list *)arg; 43 43 … … 69 69 70 70 /* Create the session handler */ 71 CHECK_FCT( fd_sess_handler_create( &new->sess_hdl, state_delete ) );71 CHECK_FCT( fd_sess_handler_create( &new->sess_hdl, state_delete, NULL ) ); 72 72 73 73 /* Parse the configuration file */ … … 107 107 TRACE_ENTRY("%p", state); 108 108 CHECK_PARAMS_DO( state, return ); 109 CHECK_FCT_DO( fd_sess_handler_destroy( &state->sess_hdl ), );109 CHECK_FCT_DO( fd_sess_handler_destroy( &state->sess_hdl, NULL ), ); 110 110 while (! FD_IS_LIST_EMPTY(&state->attributes) ) { 111 111 struct fd_list * li = state->attributes.next;
Note: See TracChangeset
for help on using the changeset viewer.