[Asterisk-cvs] asterisk/cdr cdr_custom.c,1.3,1.4
markster at lists.digium.com
markster at lists.digium.com
Thu Mar 31 09:56:47 CST 2005
Update of /usr/cvsroot/asterisk/cdr
In directory mongoose.digium.com:/tmp/cvs-serv24506/cdr
Modified Files:
cdr_custom.c
Log Message:
Fix load of cdr_custom
Index: cdr_custom.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr/cdr_custom.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cdr_custom.c 31 Mar 2005 05:54:25 -0000 1.3
+++ cdr_custom.c 31 Mar 2005 15:50:15 -0000 1.4
@@ -126,10 +126,9 @@
int load_module(void)
{
- int res;
+ int res = 0;
- res = load_config(0);
- if (!res) {
+ if (!load_config(0)) {
res = ast_cdr_register(name, desc, custom_log);
if (res)
ast_log(LOG_ERROR, "Unable to register custom CDR handling\n");
More information about the svn-commits
mailing list