From 98888a61d83443c09f1377ac2c1d163eb75d1e3e Mon Sep 17 00:00:00 2001 From: murf Date: Wed, 1 Nov 2006 19:52:43 +0000 Subject: 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 --- res/res_config_odbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/res_config_odbc.c') 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] = ""; -- cgit v1.2.3