[asterisk-commits] tilghman: trunk r173657 - /trunk/res/res_config_sqlite.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 5 13:36:29 CST 2009


Author: tilghman
Date: Thu Feb  5 13:36:29 2009
New Revision: 173657

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=173657
Log:
Change the first field, or we don't get the necessary field separation.

Modified:
    trunk/res/res_config_sqlite.c

Modified: trunk/res/res_config_sqlite.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/res/res_config_sqlite.c?view=diff&rev=173657&r1=173656&r2=173657
==============================================================================
--- trunk/res/res_config_sqlite.c (original)
+++ trunk/res/res_config_sqlite.c Thu Feb  5 13:36:29 2009
@@ -819,6 +819,7 @@
 			ast_str_append(&sql2, 0, "%s%s", first ? "" : ",", tmp);
 			sqlite_freemem(tmp);
 		}
+		first = 0;
 	}
 	release_table(tbl);
 




More information about the asterisk-commits mailing list