[asterisk-commits] murf: branch 1.4 r141156 - /branches/1.4/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 5 09:15:44 CDT 2008


Author: murf
Date: Fri Sep  5 09:15:43 2008
New Revision: 141156

URL: http://svn.digium.com/view/asterisk?view=rev&rev=141156
Log:
A small change to prevent double-posting of CDR's; thanks to Daniel Ferrer for bringing it to our attention

Modified:
    branches/1.4/main/channel.c

Modified: branches/1.4/main/channel.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/channel.c?view=diff&rev=141156&r1=141155&r2=141156
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Fri Sep  5 09:15:43 2008
@@ -1279,7 +1279,7 @@
 	ast_jb_destroy(chan);
 
 	if (chan->cdr) {
-		ast_cdr_detach(chan->cdr);
+		ast_cdr_discard(chan->cdr);
 		chan->cdr = NULL;
 	}
 	




More information about the asterisk-commits mailing list