From: Jason Parker Date: Wed, 10 Jan 2007 16:45:36 +0000 (+0000) Subject: Reverse some logic in cdr_manager, which made it fail to load if the config file... X-Git-Tag: 1.4.1~299 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4ed22c819814b46480fd5a2008f638e7a8c8d29e;p=thirdparty%2Fasterisk.git 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/branches/1.4@50346 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/cdr/cdr_manager.c b/cdr/cdr_manager.c index 4e43a30ff7..bd6ef67098 100644 --- a/cdr/cdr_manager.c +++ b/cdr/cdr_manager.c @@ -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);