[Asterisk-cvs] asterisk/res res_config_odbc.c,1.10,1.11

markster at lists.digium.com markster at lists.digium.com
Sat Oct 9 16:07:48 CDT 2004


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

Modified Files:
	res_config_odbc.c 
Log Message:
Fix SIP buglets


Index: res_config_odbc.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_config_odbc.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- res_config_odbc.c	7 Oct 2004 19:57:50 -0000	1.10
+++ res_config_odbc.c	9 Oct 2004 20:08:41 -0000	1.11
@@ -128,6 +128,7 @@
 			return NULL;
 		}
 		for (x=0;x<colcount;x++) {
+			rowdata[0] = '\0';
 			collen = sizeof(coltitle);
 			res = SQLDescribeCol(stmt, x + 1, coltitle, sizeof(coltitle), &collen, 
 						&datatype, &colsize, &decimaldigits, &nullable);




More information about the svn-commits mailing list