mod_fifo: Avoid getting time twice
We were simply discarding unused the first time we retrieved here.
This commit is contained in:
parent
64144d73a3
commit
a24b0b739f
|
@ -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);
|
use_count = fifo_get_use_count(outbound_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
ts = switch_micro_time_now();
|
|
||||||
switch_time_exp_lt(&tm, ts);
|
switch_time_exp_lt(&tm, ts);
|
||||||
switch_strftime_nocheck(date, &retsize, sizeof(date), "%Y-%m-%d %T", &tm);
|
switch_strftime_nocheck(date, &retsize, sizeof(date), "%Y-%m-%d %T", &tm);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue