projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb8c412
)
Don't try to continue loading cdr_sqlite3_custom on a module load failure (such as...
author
Jason Parker
<jparker@digium.com>
Mon, 17 Sep 2007 21:52:07 +0000
(21:52 +0000)
committer
Jason Parker
<jparker@digium.com>
Mon, 17 Sep 2007 21:52:07 +0000
(21:52 +0000)
Closes issue #10749, patch by seanbright.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82712
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
cdr/cdr_sqlite3_custom.c
patch
|
blob
|
history
diff --git
a/cdr/cdr_sqlite3_custom.c
b/cdr/cdr_sqlite3_custom.c
index
1c66336
..
c6eb8b5
100644
(file)
--- a/
cdr/cdr_sqlite3_custom.c
+++ b/
cdr/cdr_sqlite3_custom.c
@@
-209,7
+209,8
@@
static int load_module(void)
ast_log(LOG_ERROR, "%s: Unable to register custom SQLite3 CDR handling\n", name);
return AST_MODULE_LOAD_DECLINE;
}
- }
+ } else
+ return AST_MODULE_LOAD_DECLINE;
/* is the database there? */
snprintf(fn, sizeof(fn), "%s/master.db", ast_config_AST_LOG_DIR);