]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
silly compiler warning
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 7 Nov 2008 00:57:47 +0000 (00:57 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 7 Nov 2008 00:57:47 +0000 (00:57 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10279 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_fifo/mod_fifo.c

index f8fa2a3b78d292a19b933ca13388f0806e35931b..22894c96ba27a9647997401192c6d55f7e7fb5ea 100644 (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]);