mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
move variable declaration in the middle of a block
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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 */
|
/*! \brief Take care of parked calls and unpark them if needed */
|
||||||
static void *do_parking_thread(void *ignore)
|
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_set rfds, efds; /* results from previous select, to be preserved across loops. */
|
||||||
|
|
||||||
FD_ZERO(&rfds);
|
FD_ZERO(&rfds);
|
||||||
FD_ZERO(&efds);
|
FD_ZERO(&efds);
|
||||||
char parkingslot[AST_MAX_EXTENSION];
|
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
struct parkeduser *pu, *pl, *pt = NULL;
|
struct parkeduser *pu, *pl, *pt = NULL;
|
||||||
|
Reference in New Issue
Block a user