mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 16:33:34 +00:00
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
This commit is contained in:
@@ -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]));
|
||||
|
@@ -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 */
|
||||
|
Reference in New Issue
Block a user