[asterisk-commits] rizzo: trunk r46758 - /trunk/res/res_features.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Nov 1 10:09:47 MST 2006


Author: rizzo
Date: Wed Nov  1 11:09:47 2006
New Revision: 46758

URL: http://svn.digium.com/view/asterisk?rev=46758&view=rev
Log:
move variable declaration in the middle of a block


Modified:
    trunk/res/res_features.c

Modified: trunk/res/res_features.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_features.c?rev=46758&r1=46757&r2=46758&view=diff
==============================================================================
--- trunk/res/res_features.c (original)
+++ trunk/res/res_features.c Wed Nov  1 11:09:47 2006
@@ -1527,10 +1527,11 @@
 /*! \brief Take care of parked calls and unpark them if needed */
 static void *do_parking_thread(void *ignore)
 {
+	char parkingslot[AST_MAX_EXTENSION];
 	fd_set rfds, efds;	/* results from previous select, to be preserved across loops. */
+
 	FD_ZERO(&rfds);
 	FD_ZERO(&efds);
-	char parkingslot[AST_MAX_EXTENSION];
 
 	for (;;) {
 		struct parkeduser *pu, *pl, *pt = NULL;



More information about the asterisk-commits mailing list