Skip to content
Snippets Groups Projects
Commit 0beb05fa authored by Mark Spencer's avatar Mark Spencer
Browse files

Fix load of cdr_custom

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent d4781cb4
No related branches found
No related tags found
No related merge requests found
......@@ -126,10 +126,9 @@ int unload_module(void)
int load_module(void)
{
int res;
int res = 0;
res = load_config(0);
if (!res) {
if (!load_config(0)) {
res = ast_cdr_register(name, desc, custom_log);
if (res)
ast_log(LOG_ERROR, "Unable to register custom CDR handling\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment