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

Modified Files:
        cdr.c 
Log Message:
use CDR API calls instead of re-implementing them (bug #4726)


Index: cdr.c
===================================================================
RCS file: /usr/cvsroot/asterisk/cdr.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- cdr.c       15 Jul 2005 23:00:46 -0000      1.50
+++ cdr.c       25 Jul 2005 22:56:18 -0000      1.51
@@ -147,7 +147,7 @@
        AST_LIST_UNLOCK(&be_list);
 }
 
-static struct ast_cdr *cdr_dup(struct ast_cdr *cdr) 
+struct ast_cdr *ast_cdr_dup(struct ast_cdr *cdr) 
 {
        struct ast_cdr *newcdr;
 
@@ -809,7 +809,7 @@
                if (ast_test_flag(&tmp, AST_CDR_FLAG_LOCKED) || 
!ast_test_flag(cdr, AST_CDR_FLAG_LOCKED)) {
                        if (ast_test_flag(&tmp, AST_CDR_FLAG_POSTED)) {
                                ast_cdr_end(cdr);
-                               if ((dup = cdr_dup(cdr))) {
+                               if ((dup = ast_cdr_dup(cdr))) {
                                        ast_cdr_detach(dup);
                                }
                                ast_set_flag(cdr, AST_CDR_FLAG_POSTED);

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to