Skip to content
Snippets Groups Projects
Commit 5869d960 authored by Russell Bryant's avatar Russell Bryant
Browse files

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
parent 7946efea
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment