mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -181,7 +181,7 @@ static int load_module(void)
|
||||
|
||||
/* is the database there? */
|
||||
snprintf(fn, sizeof(fn), "%s/cdr.db", ast_config_AST_LOG_DIR);
|
||||
db = sqlite_open(fn, 0660, &zErr);
|
||||
db = sqlite_open(fn, AST_FILE_MODE, &zErr);
|
||||
if (!db) {
|
||||
ast_log(LOG_ERROR, "cdr_sqlite: %s\n", zErr);
|
||||
free(zErr);
|
||||
|
Reference in New Issue
Block a user