summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--funcs/func_odbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c
index fb733a421..385144e86 100644
--- a/funcs/func_odbc.c
+++ b/funcs/func_odbc.c
@@ -585,7 +585,7 @@ static int acf_odbc_read(struct ast_channel *chan, const char *cmd, char *s, cha
ast_debug(2, "Got coldata of '%s'\n", ast_str_buffer(coldata));
- if (buflen) {
+ if (x) {
buf[buflen++] = ',';
}