aboutsummaryrefslogtreecommitdiffstats
path: root/cdr
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-10 16:45:36 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-10 16:45:36 +0000
commit5e6f8b1258fc42cbc7d8ad8a47ec42356ea302f8 (patch)
tree4dd0dcc5632c1646a0555dcaee4d1ef4eb54f19b /cdr
parent745f27fca3e219a3312e8dd145b72b573f39537a (diff)
Reverse some logic in cdr_manager, which made it fail to load if the config file existed.
Issue 8777 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@50346 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cdr')
-rw-r--r--cdr/cdr_manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdr/cdr_manager.c b/cdr/cdr_manager.c
index 4e43a30ff..bd6ef6709 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);