diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-07 17:53:00 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-07 17:53:00 +0000 |
commit | 2f98279eb6930271db1dc5ea958c3831d346c221 (patch) | |
tree | ecd19069d4de9bc92208d6f752fb6381c3c0ecae /funcs/func_odbc.c | |
parent | 5f09e3ac71058a398752b1c87a52da975aad04a3 (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.2@193008 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_odbc.c')
-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 385144e86..b1eb3bb62 100644 --- a/funcs/func_odbc.c +++ b/funcs/func_odbc.c @@ -524,6 +524,7 @@ static int acf_odbc_read(struct ast_channel *chan, const char *cmd, char *s, cha 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); |