[asterisk-commits] tilghman: trunk r42034 - /trunk/funcs/func_odbc.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Sep 5 10:23:51 MST 2006


Author: tilghman
Date: Tue Sep  5 12:23:50 2006
New Revision: 42034

URL: http://svn.digium.com/view/asterisk?rev=42034&view=rev
Log:
Missing field terminator

Modified:
    trunk/funcs/func_odbc.c

Modified: trunk/funcs/func_odbc.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_odbc.c?rev=42034&r1=42033&r2=42034&view=diff
==============================================================================
--- trunk/funcs/func_odbc.c (original)
+++ trunk/funcs/func_odbc.c Tue Sep  5 12:23:50 2006
@@ -310,6 +310,7 @@
 		}
 
 		buf[buflen - 1] = ',';
+		buf[buflen] = '\0';
 	}
 	/* Trim trailing comma */
 	buf[buflen - 1] = '\0';



More information about the asterisk-commits mailing list