aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_enum.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-12 19:26:15 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-12 19:26:15 +0000
commitdcdfdeb5377086145c9722809bc9c14166814e8f (patch)
tree101294b0de47c54b0d9fa98b4a50c5f1c3275503 /funcs/func_enum.c
parentffb2e4679ead0961e9a78463b0a26d6dbbc08ddc (diff)
use the zone and options set by the arg parsing macros
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9719 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_enum.c')
-rw-r--r--funcs/func_enum.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/funcs/func_enum.c b/funcs/func_enum.c
index 23264408c..17c48ff8f 100644
--- a/funcs/func_enum.c
+++ b/funcs/func_enum.c
@@ -67,8 +67,6 @@ static int function_enum(struct ast_channel *chan, char *cmd, char *data,
int res = 0;
char tech[80];
char dest[80] = "";
- char *zone;
- char *options;
struct localuser *u;
char *s, *p;
@@ -103,8 +101,8 @@ static int function_enum(struct ast_channel *chan, char *cmd, char *data,
LOCAL_USER_ACF_ADD(u);
- res = ast_get_enum(chan, p, dest, sizeof(dest), tech, sizeof(tech), zone,
- options);
+ res = ast_get_enum(chan, p, dest, sizeof(dest), tech, sizeof(tech), args.zone,
+ args.options);
LOCAL_USER_REMOVE(u);