func_odbc: Prevent snprintf() truncation warning

For reasons that are not clear to me - this only appears for me when
_not_ building in dev-mode.

Change-Id: Ib45c54daaea8e0d571cb470cab1daaae2edba968
This commit is contained in:
Sean Bright 2020-02-10 16:40:16 -05:00
parent b3360fa5df
commit 65ff4d80a1
1 changed files with 2 additions and 2 deletions

View File

@ -1406,7 +1406,7 @@ static char *cli_odbc_read(struct ast_cli_entry *e, int cmd, struct ast_cli_args
AST_APP_ARG(field)[100];
);
struct ast_str *sql;
char *char_args, varname[10];
char *char_args, varname[15];
struct acf_odbc_query *query;
struct ast_channel *chan;
int i;
@ -1622,7 +1622,7 @@ static char *cli_odbc_write(struct ast_cli_entry *e, int cmd, struct ast_cli_arg
AST_APP_ARG(field)[100];
);
struct ast_str *sql;
char *char_args, *char_values, varname[10];
char *char_args, *char_values, varname[15];
struct acf_odbc_query *query;
struct ast_channel *chan;
int i;