diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-02-05 19:36:29 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-02-05 19:36:29 +0000 |
commit | 4cc1606d2708c9435e3e5726891b7882e5d62660 (patch) | |
tree | 587ef607260c177bc1221b80625f4465cf27bc05 /res/res_config_sqlite.c | |
parent | 5d3fc1ee3a2783a61815c64fd5185bdb27234c29 (diff) |
Change the first field, or we don't get the necessary field separation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@173657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_config_sqlite.c')
-rw-r--r-- | res/res_config_sqlite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_config_sqlite.c b/res/res_config_sqlite.c index 114aa803b..483ab216b 100644 --- a/res/res_config_sqlite.c +++ b/res/res_config_sqlite.c @@ -819,6 +819,7 @@ static int cdr_handler(struct ast_cdr *cdr) ast_str_append(&sql2, 0, "%s%s", first ? "" : ",", tmp); sqlite_freemem(tmp); } + first = 0; } release_table(tbl); |