[asterisk-commits] tilghman: trunk r193006 - /trunk/funcs/func_odbc.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 7 12:51:41 CDT 2009
Author: tilghman
Date: Thu May 7 12:51:13 2009
New Revision: 193006
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=193006
Log:
Second result should not contain data from the first result.
(closes issue #15039)
Reported by: jims
Patches:
20090506__issue15039.diff.txt uploaded by tilghman (license 14)
Tested by: jims
Modified:
trunk/funcs/func_odbc.c
Modified: trunk/funcs/func_odbc.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/funcs/func_odbc.c?view=diff&rev=193006&r1=193005&r2=193006
==============================================================================
--- trunk/funcs/func_odbc.c (original)
+++ trunk/funcs/func_odbc.c Thu May 7 12:51:13 2009
@@ -524,6 +524,7 @@
status = "SUCCESS";
for (y = 0; y < rowlimit; y++) {
+ buf[0] = '\0';
for (x = 0; x < colcount; x++) {
int i;
struct ast_str *coldata = ast_str_thread_get(&coldata_buf, 16);
More information about the asterisk-commits
mailing list