]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
s/for/while
authorMathieu Rene <mrene@avgs.ca>
Tue, 12 May 2009 03:31:40 +0000 (03:31 +0000)
committerMathieu Rene <mrene@avgs.ca>
Tue, 12 May 2009 03:31:40 +0000 (03:31 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13281 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_fifo/mod_fifo.c

index caa2b60fa96cadf01a6860ca5abad9f47cbeecfa..6e87e321ec9bb159ff64cd59ab50b180053d3389 100644 (file)
@@ -2168,7 +2168,7 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_fifo_shutdown)
                stop_node_thread();
        }
                
-       for (hi = switch_hash_first(NULL, globals.fifo_hash); hi; hi = switch_hash_first(NULL, globals.fifo_hash)) {
+       while (hi = switch_hash_first(NULL, globals.fifo_hash)) {
                int x = 0;
                switch_hash_this(hi, NULL, NULL, &val);
                node = (fifo_node_t *) val;