From 82506a1aba676c21c4cce5de753174fe037398f6 Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Tue, 12 May 2009 03:31:40 +0000 Subject: [PATCH] s/for/while git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13281 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_fifo/mod_fifo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index caa2b60fa9..6e87e321ec 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -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;