summaryrefslogtreecommitdiff
path: root/funcs
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-01-02 21:08:33 +0000
committerMark Michelson <mmichelson@digium.com>2008-01-02 21:08:33 +0000
commit5107c5474c1959e8156a5e25b536022913c06218 (patch)
tree739e5cdc865e251d4363c04710c26c1174b637dd /funcs
parent70071915e19d261449408c3d05abaebd3d7a7819 (diff)
Change instances of AST_NONSTANDARD_APP_ARGS(foo, bar, ',') to AST_STANDARD_APP_ARGS(foo, bar)
(closes issue #11668, reported and patched by mvanbaak) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_odbc.c4
-rw-r--r--funcs/func_strings.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c
index 194a32183..f472e2599 100644
--- a/funcs/func_odbc.c
+++ b/funcs/func_odbc.c
@@ -606,7 +606,7 @@ static int init_acf_query(struct ast_config *cfg, char *catg, struct acf_odbc_qu
AST_DECLARE_APP_ARGS(write,
AST_APP_ARG(dsn)[5];
);
- AST_NONSTANDARD_APP_ARGS(write, tmp2, ',');
+ AST_STANDARD_APP_ARGS(write, tmp2);
for (i = 0; i < 5; i++) {
if (!ast_strlen_zero(write.dsn[i]))
ast_copy_string((*query)->writehandle[i], write.dsn[i], sizeof((*query)->writehandle[i]));
@@ -618,7 +618,7 @@ static int init_acf_query(struct ast_config *cfg, char *catg, struct acf_odbc_qu
AST_DECLARE_APP_ARGS(read,
AST_APP_ARG(dsn)[5];
);
- AST_NONSTANDARD_APP_ARGS(read, tmp2, ',');
+ AST_STANDARD_APP_ARGS(read, tmp2);
for (i = 0; i < 5; i++) {
if (!ast_strlen_zero(read.dsn[i]))
ast_copy_string((*query)->readhandle[i], read.dsn[i], sizeof((*query)->readhandle[i]));
diff --git a/funcs/func_strings.c b/funcs/func_strings.c
index 8881a1569..da234949a 100644
--- a/funcs/func_strings.c
+++ b/funcs/func_strings.c
@@ -379,7 +379,7 @@ static int hash_read(struct ast_channel *chan, const char *cmd, char *data, char
hashkeys_read(chan, "HASHKEYS", arg.hashname, colnames, sizeof(colnames));
pbx_builtin_setvar_helper(chan, "~ODBCFIELDS~", colnames);
- AST_NONSTANDARD_APP_ARGS(arg2, colnames, ',');
+ AST_STANDARD_APP_ARGS(arg2, colnames);
*buf = '\0';
/* Now get the corresponding column values, in exactly the same order */