silly compiler warning

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10279 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-11-07 00:57:47 +00:00
parent f16886bba3
commit bd9891ac78
1 changed files with 3 additions and 2 deletions

View File

@ -1376,7 +1376,8 @@ static int xml_callback(void *pArg, int argc, char **argv, char **columnNames)
char exp_buf[128] = "";
switch_time_exp_t tm;
switch_time_t etime = 0;
char *expires = exp_buf;
if (argv[7]) {
if ((etime = atol(argv[7]))) {
switch_size_t retsize;
@ -1396,7 +1397,7 @@ static int xml_callback(void *pArg, int argc, char **argv, char **columnNames)
switch_xml_set_attr_d(x_out, "lag", argv[6]);
switch_xml_set_attr_d(x_out, "outbound-call-count", argv[10]);
switch_xml_set_attr_d(x_out, "outbound-fail-count", argv[11]);
switch_xml_set_attr_d(x_out, "next-available", exp_buf);
switch_xml_set_attr_d(x_out, "next-available", expires);
switch_xml_set_txt_d(x_out, argv[2]);