mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 21:38:34 +00:00
passing non-null value to generate_xml_cdr now implies its an initalized xml object
This commit is contained in:
1 parent
21edf395ca
commit
3a6bb506c0
6 files changed
+12
-8
No files matched your search
@@ -133,7 +133,7 @@ static rc_handle *my_radius_init(void)
|
||||
|
||||
static switch_status_t my_on_routing(switch_core_session_t *session)
|
||||
{
|
||||
switch_xml_t cdr;
|
||||
switch_xml_t cdr = NULL;
|
||||
switch_channel_t *channel = switch_core_session_get_channel(session);
|
||||
rc_handle *rad_config;
|
||||
switch_status_t retval = SWITCH_STATUS_TERM;
|
||||
@@ -377,7 +377,7 @@ static switch_status_t my_on_routing(switch_core_session_t *session)
|
||||
|
||||
static switch_status_t my_on_reporting(switch_core_session_t *session)
|
||||
{
|
||||
switch_xml_t cdr;
|
||||
switch_xml_t cdr = NULL;
|
||||
switch_channel_t *channel = switch_core_session_get_channel(session);
|
||||
rc_handle *rad_config;
|
||||
switch_status_t retval = SWITCH_STATUS_TERM;
|
||||
|
||||
Reference in new issue
Block a user