]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Change the first field, or we don't get the necessary field separation.
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 5 Feb 2009 19:36:29 +0000 (19:36 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 5 Feb 2009 19:36:29 +0000 (19:36 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@173657 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_config_sqlite.c

index 114aa803bd1c2dc68352bdb1a0f3f524d4f693a4..483ab216b23a39ed283af34baecabe5d872fa8b4 100644 (file)
@@ -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);