Skip to content
Snippets Groups Projects
Commit 61cfff7b authored by BJ Weschke's avatar BJ Weschke
Browse files

More cleanup.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 204ba369
No related branches found
No related tags found
No related merge requests found
...@@ -763,9 +763,8 @@ static struct ast_channel *wait_for_winner(struct findme_user_listptr *findme_us ...@@ -763,9 +763,8 @@ static struct ast_channel *wait_for_winner(struct findme_user_listptr *findme_us
return NULL; return NULL;
} }
static void findmeexec(void *args) static void findmeexec(struct fm_args *tpargs)
{ {
struct fm_args *tpargs;
struct number *nm; struct number *nm;
struct ast_channel *outbound; struct ast_channel *outbound;
struct ast_channel *caller; struct ast_channel *caller;
...@@ -782,12 +781,6 @@ static void findmeexec(void *args) ...@@ -782,12 +781,6 @@ static void findmeexec(void *args)
findme_user_list = ast_calloc(1, sizeof(*findme_user_list)); findme_user_list = ast_calloc(1, sizeof(*findme_user_list));
AST_LIST_HEAD_INIT_NOLOCK(findme_user_list); AST_LIST_HEAD_INIT_NOLOCK(findme_user_list);
tpargs = (struct fm_args *)args;
if (!tpargs->chan)
return;
/* We're going to figure out what the longest possible string of digits to collect is */ /* We're going to figure out what the longest possible string of digits to collect is */
ynlongest = 0; ynlongest = 0;
if (strlen(tpargs->takecall) > ynlongest) if (strlen(tpargs->takecall) > ynlongest)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment