mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-12 10:07:26 +00:00
silly compiler warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10279 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f16886bba3
commit
bd9891ac78
@ -1376,6 +1376,7 @@ static int xml_callback(void *pArg, int argc, char **argv, char **columnNames)
|
|||||||
char exp_buf[128] = "";
|
char exp_buf[128] = "";
|
||||||
switch_time_exp_t tm;
|
switch_time_exp_t tm;
|
||||||
switch_time_t etime = 0;
|
switch_time_t etime = 0;
|
||||||
|
char *expires = exp_buf;
|
||||||
|
|
||||||
if (argv[7]) {
|
if (argv[7]) {
|
||||||
if ((etime = atol(argv[7]))) {
|
if ((etime = atol(argv[7]))) {
|
||||||
@ -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, "lag", argv[6]);
|
||||||
switch_xml_set_attr_d(x_out, "outbound-call-count", argv[10]);
|
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, "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]);
|
switch_xml_set_txt_d(x_out, argv[2]);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user