summaryrefslogtreecommitdiff
path: root/cdr/cdr_custom.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-04-06 16:14:21 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-04-06 16:14:21 +0000
commit3fd8f01d7cb211b8706ee599dfa775994dfd0082 (patch)
treeff6fa28c01b29547e6f75dd2b064c69ec974c172 /cdr/cdr_custom.c
parentea60d42f6742075cbb7bd999a74e673123f488cd (diff)
ensure that successful configuration results in the module staying loaded (bug #3968)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'cdr/cdr_custom.c')
-rwxr-xr-xcdr/cdr_custom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cdr/cdr_custom.c b/cdr/cdr_custom.c
index 08abbcae0..bfde470e2 100755
--- a/cdr/cdr_custom.c
+++ b/cdr/cdr_custom.c
@@ -74,6 +74,7 @@ static int load_config(int reload)
var = var->next;
}
ast_config_destroy(cfg);
+ res = 0;
} else {
if (reload)
ast_log(LOG_WARNING, "Failed to reload configuration file.\n");