[Asterisk-cvs] asterisk/res res_config_odbc.c,1.8,1.8.2.1

russell at lists.digium.com russell at lists.digium.com
Thu Nov 25 13:13:51 CST 2004


Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv23770/res

Modified Files:
      Tag: v1-0
	res_config_odbc.c 
Log Message:
change size of var_val (bug 2926)


Index: res_config_odbc.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_config_odbc.c,v
retrieving revision 1.8
retrieving revision 1.8.2.1
diff -u -d -r1.8 -r1.8.2.1
--- res_config_odbc.c	23 Aug 2004 19:07:15 -0000	1.8
+++ res_config_odbc.c	25 Nov 2004 18:13:16 -0000	1.8.2.1
@@ -44,7 +44,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[128];
+	char sql[255]="", filename[128]="", category[128]="", var_name[128]="", var_val[512]="";
 	SQLSMALLINT rowcount=0;
 	SQLHSTMT stmt;
 	char last[80] = "";




More information about the svn-commits mailing list