aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-04-08 17:13:21 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-04-08 17:13:21 +0000
commit60ea004b098476b553ffac6854fdda13c6c853ed (patch)
tree6929e71497ef0059a2894f243ecd92d718fa8c30 /funcs
parentfcff597d10076b3eaf58ae737a72416797f1295d (diff)
Merged revisions 187050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r187050 | tilghman | 2009-04-08 12:08:43 -0500 (Wed, 08 Apr 2009) | 7 lines If the first column is empty, output a delimiter anyway. (closes issue #14848) Reported by: john8675309 Patches: 20090408__bug14848.diff.txt uploaded by tilghman (license 14) Tested by: john8675309 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@187051 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-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++] = ',';
}