[Freeswitch-svn] [commit] r13281 - freeswitch/trunk/src/mod/applications/mod_fifo

FreeSWITCH SVN mrene at freeswitch.org
Mon May 11 20:31:40 PDT 2009


Author: mrene
Date: Mon May 11 22:31:40 2009
New Revision: 13281

Log:
s/for/while

Modified:
   freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c

Modified: freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c	Mon May 11 22:31:40 2009
@@ -2168,7 +2168,7 @@
 		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;



More information about the Freeswitch-svn mailing list