aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-01 17:09:47 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-01 17:09:47 +0000
commit9e2bcaba71b28694e6db86a7ca8f81ffd8ec32a6 (patch)
tree458883a9d6e1b8d7fb8a2ac899ec052f1da77c96 /res
parent4decbef59923112afe87e3cda0896e6c702bf61a (diff)
move variable declaration in the middle of a block
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46758 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_features.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/res_features.c b/res/res_features.c
index 7c5e03611..e48c2e00f 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -1527,10 +1527,11 @@ static void post_manager_event(const char *s, char *parkingexten, struct ast_cha
/*! \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;