mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +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]));
|
||||
|
Reference in New Issue
Block a user