[asterisk-commits] murf: trunk r141157 - in /trunk: ./ main/channel.c

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


Author: murf
Date: Fri Sep  5 09:18:43 2008
New Revision: 141157

URL: http://svn.digium.com/view/asterisk?view=rev&rev=141157
Log:
Merged revisions 141156 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r141156 | murf | 2008-09-05 08:15:43 -0600 (Fri, 05 Sep 2008) | 1 line

A small change to prevent double-posting of CDR's; thanks to Daniel Ferrer for bringing it to our attention
........

Modified:
    trunk/   (props changed)
    trunk/main/channel.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/main/channel.c?view=diff&rev=141157&r1=141156&r2=141157
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Fri Sep  5 09:18:43 2008
@@ -1362,7 +1362,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