passing non-null value to generate_xml_cdr now implies its an initalized xml object

This commit is contained in:
Anthony Minessale
2010-07-01 15:22:13 -05:00
parent 21edf395ca
commit 3a6bb506c0
6 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ static switch_status_t set_xml_cdr_log_dirs()
static switch_status_t my_on_reporting(switch_core_session_t *session)
{
switch_xml_t cdr;
switch_xml_t cdr = NULL;
char *xml_text = NULL;
char *path = NULL;
char *curl_xml_text = NULL;