[asterisk-commits] tilghman: branch 1.6.2 r193008 - in /branches/1.6.2: ./ funcs/func_odbc.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 7 12:53:04 CDT 2009


Author: tilghman
Date: Thu May  7 12:53:00 2009
New Revision: 193008

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=193008
Log:
Merged revisions 193006 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r193006 | tilghman | 2009-05-07 12:51:13 -0500 (Thu, 07 May 2009) | 7 lines
  
  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:
    branches/1.6.2/   (props changed)
    branches/1.6.2/funcs/func_odbc.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/funcs/func_odbc.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.2/funcs/func_odbc.c?view=diff&rev=193008&r1=193007&r2=193008
==============================================================================
--- branches/1.6.2/funcs/func_odbc.c (original)
+++ branches/1.6.2/funcs/func_odbc.c Thu May  7 12:53:00 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