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:
Mark Michelson
2008-01-02 21:08:33 +00:00
parent 70071915e1
commit 5107c5474c
4 changed files with 12 additions and 12 deletions

View File

@@ -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]));