]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_fifo: Remove duplicate check in ringall strategy
authorTravis Cross <tc@traviscross.com>
Mon, 26 May 2014 21:19:56 +0000 (21:19 +0000)
committerTravis Cross <tc@traviscross.com>
Wed, 28 May 2014 01:32:08 +0000 (01:32 +0000)
We already checked the number of usable rows, and nothing has changed.

src/mod/applications/mod_fifo/mod_fifo.c

index c52f3285876961786b0861fac1d1a937c15cf6d2..f8496a74f1ecaeb8132d244b77bb43c439c533ab 100644 (file)
@@ -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");