From b3d12d49b3209c241b363eb26ed5295436c5323d Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sun, 13 Jan 2013 19:39:01 -0600 Subject: [PATCH] FS-5013 --resolve better to submit here and I can tell you when you can commit --- src/mod/applications/mod_fifo/mod_fifo.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index e7388a9b9a..79c9d265d2 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -2711,6 +2711,11 @@ SWITCH_STANDARD_APP(fifo_function) pop_array[x] = temp; } } + } else { + int x = 0; + for (x = 0; x < MAX_PRI; x++) { + pop_array[x] = x; + } } while (switch_channel_ready(channel)) {