[asterisk-commits] juggie: branch juggie/NoLossCDR r83465 - /team/juggie/NoLossCDR/cdr/cdr_custom.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 21 10:49:31 CDT 2007


Author: juggie
Date: Fri Sep 21 10:49:31 2007
New Revision: 83465

URL: http://svn.digium.com/view/asterisk?view=rev&rev=83465
Log:
cdr_custom fix

Modified:
    team/juggie/NoLossCDR/cdr/cdr_custom.c

Modified: team/juggie/NoLossCDR/cdr/cdr_custom.c
URL: http://svn.digium.com/view/asterisk/team/juggie/NoLossCDR/cdr/cdr_custom.c?view=diff&rev=83465&r1=83464&r2=83465
==============================================================================
--- team/juggie/NoLossCDR/cdr/cdr_custom.c (original)
+++ team/juggie/NoLossCDR/cdr/cdr_custom.c Fri Sep 21 10:49:31 2007
@@ -154,7 +154,7 @@
 
 	/* Abort if no master file is specified */
 	if (ast_strlen_zero(sink->filename))
-		return 0;
+		return AST_CDR_POST_FATAL;
 
 	memset(buf, 0 , DEFAULT_BUFFER_SIZE);
 	/* Quite possibly the first use of a static struct ast_channel, we need it so the var funcs will work */




More information about the asterisk-commits mailing list