aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_odbc.c1
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);