[asterisk-commits] murf: branch 1.2 r46803 - /branches/1.2/res/res_config_odbc.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Nov 1 12:52:43 MST 2006


Author: murf
Date: Wed Nov  1 13:52:43 2006
New Revision: 46803

URL: http://svn.digium.com/view/asterisk?rev=46803&view=rev
Log:
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

Modified:
    branches/1.2/res/res_config_odbc.c

Modified: branches/1.2/res/res_config_odbc.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/res/res_config_odbc.c?rev=46803&r1=46802&r2=46803&view=diff
==============================================================================
--- branches/1.2/res/res_config_odbc.c (original)
+++ branches/1.2/res/res_config_odbc.c Wed Nov  1 13:52:43 2006
@@ -423,7 +423,7 @@
 	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] = "";



More information about the asterisk-commits mailing list