]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5013 --resolve better to submit here and I can tell you when you can commit
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 14 Jan 2013 01:39:01 +0000 (19:39 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 14 Jan 2013 01:39:01 +0000 (19:39 -0600)
src/mod/applications/mod_fifo/mod_fifo.c

index e7388a9b9a6d28222b975175257372c463949447..79c9d265d2f0e2f6f6f8cb91505281c65d601314 100644 (file)
@@ -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)) {