From: Travis Cross Date: Mon, 26 May 2014 21:19:56 +0000 (+0000) Subject: mod_fifo: Remove duplicate check in ringall strategy X-Git-Tag: v1.4.5~2^2~14^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80ccaf3450f2dc24695b5f3abbc082c532df6a2a;p=thirdparty%2Ffreeswitch.git mod_fifo: Remove duplicate check in ringall strategy We already checked the number of usable rows, and nothing has changed. --- diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index c52f328587..f8496a74f1 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -1593,8 +1593,6 @@ static void *SWITCH_THREAD_FUNC outbound_ringall_thread_run(switch_thread_t *thr fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_TRUE); } - if (!total) goto end; - if (!globals.allow_transcoding && !switch_true(switch_event_get_header(pop, "variable_fifo_allow_transcoding")) && (codec = switch_event_get_header(pop, "variable_rtp_use_codec_name"))) { const char *rate = switch_event_get_header(pop, "variable_rtp_use_codec_rate");