[Asterisk-cvs] asterisk-addons/res_sqlite3 res_sqlite.c,1.2,1.3
anthm at lists.digium.com
anthm at lists.digium.com
Thu Apr 21 18:26:00 CDT 2005
Update of /usr/cvsroot/asterisk-addons/res_sqlite3
In directory mongoose.digium.com:/tmp/cvs-serv11917
Modified Files:
res_sqlite.c
Log Message:
remove bundled sqlite
Index: res_sqlite.c
===================================================================
RCS file: /usr/cvsroot/asterisk-addons/res_sqlite3/res_sqlite.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- res_sqlite.c 31 Jan 2005 22:04:31 -0000 1.2
+++ res_sqlite.c 21 Apr 2005 23:16:36 -0000 1.3
@@ -738,6 +738,7 @@
int i=0;
struct ast_config *config;
+
/* if the data was not passed from extconfig.conf then get it from sqlite.conf */
if(!database || ast_strlen_zero(database)) {
if (!file || !strcmp (file, "res_sqlite.conf"))
@@ -765,6 +766,7 @@
if (configured < 2)
return NULL;
+
db=open_db(path);
if (!db)
return NULL;
@@ -1115,6 +1117,8 @@
static struct ast_config_engine sqlite_engine = {
.name = "sqlite",
.load_func = config_sqlite
+
+
};
int load_module(void)
More information about the svn-commits
mailing list