]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Reverse some logic in cdr_manager, which made it fail to load if the config file...
authorJason Parker <jparker@digium.com>
Wed, 10 Jan 2007 16:45:36 +0000 (16:45 +0000)
committerJason Parker <jparker@digium.com>
Wed, 10 Jan 2007 16:45:36 +0000 (16:45 +0000)
Issue 8777

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

cdr/cdr_manager.c

index 4e43a30ff7deb7550f8f4c26b1c4e1fa6112b263..bd6ef67098b8d2e3e91a8ba0aae280eabf333f34 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);