[asterisk-commits] trunk r9719 - /trunk/funcs/func_enum.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun Feb 12 12:26:16 MST 2006
Author: russell
Date: Sun Feb 12 13:26:15 2006
New Revision: 9719
URL: http://svn.digium.com/view/asterisk?rev=9719&view=rev
Log:
use the zone and options set by the arg parsing macros
Modified:
trunk/funcs/func_enum.c
Modified: trunk/funcs/func_enum.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_enum.c?rev=9719&r1=9718&r2=9719&view=diff
==============================================================================
--- trunk/funcs/func_enum.c (original)
+++ trunk/funcs/func_enum.c Sun Feb 12 13:26:15 2006
@@ -67,8 +67,6 @@
int res = 0;
char tech[80];
char dest[80] = "";
- char *zone;
- char *options;
struct localuser *u;
char *s, *p;
@@ -103,8 +101,8 @@
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);
More information about the asterisk-commits
mailing list