[asterisk-commits] file: branch file/astdb-sqlite3 r78698 - /team/file/astdb-sqlite3/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 8 19:42:28 CDT 2007


Author: file
Date: Wed Aug  8 19:42:26 2007
New Revision: 78698

URL: http://svn.digium.com/view/asterisk?view=rev&rev=78698
Log:
Use a different filename for the sqlite3 based database so it does not conflict with an already existing berkeley db.

Modified:
    team/file/astdb-sqlite3/main/asterisk.c

Modified: team/file/astdb-sqlite3/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/team/file/astdb-sqlite3/main/asterisk.c?view=diff&rev=78698&r1=78697&r2=78698
==============================================================================
--- team/file/astdb-sqlite3/main/asterisk.c (original)
+++ team/file/astdb-sqlite3/main/asterisk.c Wed Aug  8 19:42:26 2007
@@ -2337,7 +2337,7 @@
 			snprintf(ast_config_AST_MONITOR_DIR, sizeof(ast_config_AST_MONITOR_DIR) - 1, "%s/monitor", v->value);
 		} else if (!strcasecmp(v->name, "astvarlibdir")) {
 			ast_copy_string(ast_config_AST_VAR_DIR, v->value, sizeof(ast_config_AST_VAR_DIR));
-			snprintf(ast_config_AST_DB, sizeof(ast_config_AST_DB), "%s/astdb", v->value);
+			snprintf(ast_config_AST_DB, sizeof(ast_config_AST_DB), "%s/astsqldb", v->value);
 		} else if (!strcasecmp(v->name, "astdatadir")) {
 			ast_copy_string(ast_config_AST_DATA_DIR, v->value, sizeof(ast_config_AST_DATA_DIR));
 			snprintf(ast_config_AST_KEY_DIR, sizeof(ast_config_AST_KEY_DIR), "%s/keys", v->value);




More information about the asterisk-commits mailing list