Author: anthm Date: Thu Nov 6 19:57:47 2008 New Revision: 10279 Modified: freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c Log: silly compiler warning Modified: freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c ============================================================================== --- freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c (original) +++ freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c Thu Nov 6 19:57:47 2008 @@ -1376,7 +1376,8 @@ 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 @@ 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]);