diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-05-07 17:51:13 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-05-07 17:51:13 +0000 |
commit | e346cbb9bc0bee95603abd4fd2c905093395c1d0 (patch) | |
tree | 4abf6b85e3aec003a0160ebf0074e836fedc1344 /funcs | |
parent | e4149506a1ca3c6fa885e992b65623202e7896b1 (diff) |
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: https://origsvn.digium.com/svn/asterisk/trunk@193006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 b754d3b7f..4bfe1a23d 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); |