diff options
author | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-06 20:39:11 +0000 |
---|---|---|
committer | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-06 20:39:11 +0000 |
commit | c4fde238e99aabc39bf38aa71edfc1000663be70 (patch) | |
tree | 0464d7fcc367c60b1598038892e00d8cf766bcc2 /apps | |
parent | adc473540de6c632a31adb6281a7102457423ad0 (diff) |
More cleanup.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32698 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_followme.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/app_followme.c b/apps/app_followme.c index bdf4544fe..1a2d68ed0 100644 --- a/apps/app_followme.c +++ b/apps/app_followme.c @@ -763,9 +763,8 @@ static struct ast_channel *wait_for_winner(struct findme_user_listptr *findme_us return NULL; } -static void findmeexec(void *args) +static void findmeexec(struct fm_args *tpargs) { - struct fm_args *tpargs; struct number *nm; struct ast_channel *outbound; struct ast_channel *caller; @@ -782,12 +781,6 @@ static void findmeexec(void *args) findme_user_list = ast_calloc(1, sizeof(*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 */ ynlongest = 0; if (strlen(tpargs->takecall) > ynlongest) |