]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_fifo: Avoid getting time twice
authorTravis Cross <tc@traviscross.com>
Mon, 26 May 2014 19:58:26 +0000 (19:58 +0000)
committerTravis Cross <tc@traviscross.com>
Wed, 28 May 2014 01:32:07 +0000 (01:32 +0000)
We were simply discarding unused the first time we retrieved here.

src/mod/applications/mod_fifo/mod_fifo.c

index f1a1474882863e6fabb71b9b77ea7981af2c10eb..11d5e4a9874b42c02939cd7357e6a33050cbbdbd 100644 (file)
@@ -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);