diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-07 17:52:01 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-07 17:52:01 +0000 |
commit | 83562747168de6f60eda9c78301e37f603b92fc0 (patch) | |
tree | 9a7684d6dd30e421d2023bda34f96e71df32bca2 /funcs | |
parent | d9d400cb6bcdab29bdd3c5c15d0aec1ba036afbe (diff) |
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
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@193007 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r-- | funcs/func_odbc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c index cc344be41..e093ecffc 100644 --- a/funcs/func_odbc.c +++ b/funcs/func_odbc.c @@ -391,6 +391,7 @@ static int acf_odbc_read(struct ast_channel *chan, const char *cmd, char *s, cha } 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); |