projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c4ebbd5
)
Fix custom CDR error (thanks kpfleming)
author
Mark Spencer
<markster@digium.com>
Thu, 31 Mar 2005 05:54:25 +0000
(
05:54
+0000)
committer
Mark Spencer
<markster@digium.com>
Thu, 31 Mar 2005 05:54:25 +0000
(
05:54
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5313
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
cdr/cdr_custom.c
patch
|
blob
|
history
diff --git
a/cdr/cdr_custom.c
b/cdr/cdr_custom.c
index
e0f5646
..
8d8eecd
100755
(executable)
--- a/
cdr/cdr_custom.c
+++ b/
cdr/cdr_custom.c
@@
-129,11
+129,10
@@
int load_module(void)
int res;
res = load_config(0);
- if (!res)
+ if (!res) {
res = ast_cdr_register(name, desc, custom_log);
- if (res) {
- ast_log(LOG_ERROR, "Unable to register custom CDR handling\n");
- res = 0;
+ if (res)
+ ast_log(LOG_ERROR, "Unable to register custom CDR handling\n");
if (mf)
fclose(mf);
}