diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-01 19:52:43 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-11-01 19:52:43 +0000 |
commit | 98888a61d83443c09f1377ac2c1d163eb75d1e3e (patch) | |
tree | 9d26fb3413f94ac62583a52ed120e35305555fb0 /res | |
parent | db13aa0a107d4d483be0abbfd24d2fdf31fd47e1 (diff) |
a fix for bug 8251; the var_val needs to accept longer strings or mass confusion and a lot of lost time is the result
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46803 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_config_odbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_config_odbc.c b/res/res_config_odbc.c index e10f4ff7f..5a71ee561 100644 --- a/res/res_config_odbc.c +++ b/res/res_config_odbc.c @@ -423,7 +423,7 @@ static struct ast_config *config_odbc(const char *database, const char *table, c odbc_obj *obj; SQLINTEGER err=0, commented=0, cat_metric=0, var_metric=0, last_cat_metric=0; SQLBIGINT id; - char sql[255] = "", filename[128], category[128], var_name[128], var_val[512]; + char sql[255] = "", filename[128], category[128], var_name[128], var_val[1024]; SQLSMALLINT rowcount=0; SQLHSTMT stmt; char last[128] = ""; |