[asterisk-commits] murf: trunk r67095 - in /trunk: ./ main/cdr.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Jun 4 15:15:39 MST 2007


Author: murf
Date: Mon Jun  4 17:15:38 2007
New Revision: 67095

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

........
r67073 | murf | 2007-06-04 15:59:34 -0600 (Mon, 04 Jun 2007) | 1 line

This typo has been here since 1.4 forked. It has been the source of heartburn to many a dialplan/CDR programmer.
........

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

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

Modified: trunk/main/cdr.c
URL: http://svn.digium.com/view/asterisk/trunk/main/cdr.c?view=diff&rev=67095&r1=67094&r2=67095
==============================================================================
--- trunk/main/cdr.c (original)
+++ trunk/main/cdr.c Mon Jun  4 17:15:38 2007
@@ -754,7 +754,7 @@
 int ast_cdr_setcid(struct ast_cdr *cdr, struct ast_channel *c)
 {
 	for (; cdr; cdr = cdr->next) {
-		if (ast_test_flag(cdr, AST_CDR_FLAG_LOCKED))
+		if (!ast_test_flag(cdr, AST_CDR_FLAG_LOCKED))
 			set_one_cid(cdr, c);
 	}
 	return 0;



More information about the asterisk-commits mailing list