[Asterisk-cvs] asterisk/cdr cdr_custom.c,1.2,1.3
markster at lists.digium.com
markster at lists.digium.com
Thu Mar 31 00:00:53 CST 2005
Update of /usr/cvsroot/asterisk/cdr
In directory mongoose.digium.com:/tmp/cvs-serv21627/cdr
Modified Files:
cdr_custom.c
Log Message:
Fix custom CDR error (thanks kpfleming)
Index: cdr_custom.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr/cdr_custom.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- cdr_custom.c 25 Mar 2005 17:12:40 -0000 1.2
+++ cdr_custom.c 31 Mar 2005 05:54:25 -0000 1.3
@@ -129,11 +129,10 @@
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);
}
More information about the svn-commits
mailing list