[Asterisk-cvs] asterisk/cdr cdr_custom.c,1.6,1.7

kpfleming at lists.digium.com kpfleming at lists.digium.com
Fri Apr 1 11:38:19 CST 2005


Update of /usr/cvsroot/asterisk/cdr
In directory mongoose.digium.com:/tmp/cvs-serv833/cdr

Modified Files:
	cdr_custom.c 
Log Message:
ensure that failure to register the cdr_custom backend results in a module load failure


Index: cdr_custom.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr/cdr_custom.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- cdr_custom.c	1 Apr 2005 03:38:35 -0000	1.6
+++ cdr_custom.c	1 Apr 2005 17:31:41 -0000	1.7
@@ -142,7 +142,7 @@
 		if (mf)
 			fclose(mf);
 	}
-	return 0;
+	return res;
 }
 
 int reload(void)




More information about the svn-commits mailing list