From: Travis Cross Date: Mon, 26 May 2014 19:58:26 +0000 (+0000) Subject: mod_fifo: Avoid getting time twice X-Git-Tag: v1.4.5~2^2~14^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a24b0b739f9536e5e07894c688a6ca40534a68b1;p=thirdparty%2Ffreeswitch.git mod_fifo: Avoid getting time twice We were simply discarding unused the first time we retrieved here. --- diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index f1a1474882..11d5e4a987 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -1111,7 +1111,6 @@ static void do_unbridge(switch_core_session_t *consumer_session, switch_core_ses use_count = fifo_get_use_count(outbound_id); } - ts = switch_micro_time_now(); switch_time_exp_lt(&tm, ts); switch_strftime_nocheck(date, &retsize, sizeof(date), "%Y-%m-%d %T", &tm);