[Asterisk-cvs] asterisk cdr.c,1.50,1.51
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Mon Jul 25 18:49:35 CDT 2005
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);
More information about the svn-commits
mailing list