From: Mathieu Rene Date: Tue, 12 May 2009 03:31:40 +0000 (+0000) Subject: s/for/while X-Git-Tag: v1.0.4~921 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82506a1aba676c21c4cce5de753174fe037398f6;p=thirdparty%2Ffreeswitch.git s/for/while git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13281 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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;