Merged revisions 50346 via svnmerge from
authorJason Parker <jparker@digium.com>
Wed, 10 Jan 2007 16:47:23 +0000 (16:47 +0000)
committerJason Parker <jparker@digium.com>
Wed, 10 Jan 2007 16:47:23 +0000 (16:47 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50346 | qwell | 2007-01-10 10:45:36 -0600 (Wed, 10 Jan 2007) | 4 lines

Reverse some logic in cdr_manager, which made it fail to load if the config file existed.

Issue 8777

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50347 65c4cc65-6c06-0410-ace0-fbb531ad65f3

cdr/cdr_manager.c

index 4e43a30..bd6ef67 100644 (file)
@@ -146,7 +146,7 @@ static int load_module(void)
        int res;
 
        /* Configuration file */
-       if(loadconfigurationfile())
+       if (!loadconfigurationfile())
                return AST_MODULE_LOAD_DECLINE;
        
        res = ast_cdr_register(name, "Asterisk Manager Interface CDR Backend", manager_log);