From: Russell Bryant Date: Sun, 12 Feb 2006 19:26:15 +0000 (+0000) Subject: use the zone and options set by the arg parsing macros X-Git-Tag: 1.4.0-beta1~2650 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5869d9605016443ca6419c879cc9af4781a84907;p=thirdparty%2Fasterisk.git use the zone and options set by the arg parsing macros git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9719 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/funcs/func_enum.c b/funcs/func_enum.c index 23264408c7..17c48ff8f6 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);