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

Freeswitch SVN mikej at freeswitch.org
Fri Apr 4 18:03:41 EDT 2008


Author: mikej
Date: Fri Apr  4 18:03:41 2008
New Revision: 8034

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

Log:
code before declaration.

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	Fri Apr  4 18:03:41 2008
@@ -697,8 +697,9 @@
 			}
 
 			for (x = 0; x < custom_pop; x++) {
+				int temp;
 				switch_assert(pop_list[x]);
-				int temp = atoi(pop_list[x]);
+				temp = atoi(pop_list[x]);
 				if (temp > -1 && temp < MAX_PRI) {
 					pop_array[x] = temp;
 				}



More information about the Freeswitch-svn mailing list