diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-02 21:08:33 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-02 21:08:33 +0000 |
commit | eff3a6e5afc95e009c38d9e7e2bf8407481bf5ef (patch) | |
tree | 739e5cdc865e251d4363c04710c26c1174b637dd /funcs | |
parent | a192502092ceee7c7bd28a8e5be91e9e8220fe37 (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: http://svn.digium.com/svn/asterisk/trunk@95994 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r-- | funcs/func_odbc.c | 4 | ||||
-rw-r--r-- | funcs/func_strings.c | 2 |
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 */ |