[svn-commits] murf: trunk r71637 - /trunk/main/cdr.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Jun 25 11:43:33 CDT 2007
Author: murf
Date: Mon Jun 25 11:43:33 2007
New Revision: 71637
URL: http://svn.digium.com/view/asterisk?view=rev&rev=71637
Log:
Luigi's suggestion to move the llfrom decl was a good one. Done.
Modified:
trunk/main/cdr.c
Modified: trunk/main/cdr.c
URL: http://svn.digium.com/view/asterisk/trunk/main/cdr.c?view=diff&rev=71637&r1=71636&r2=71637
==============================================================================
--- trunk/main/cdr.c (original)
+++ trunk/main/cdr.c Mon Jun 25 11:43:33 2007
@@ -526,9 +526,9 @@
}
if (ast_test_flag(from, AST_CDR_FLAG_LOCKED)) {
+ struct ast_cdr *llfrom = NULL;
discard_from = 1;
if (lto) {
- struct ast_cdr *llfrom = NULL;
/* insert the from stuff after lto */
lto->next = from;
lfrom = from;
@@ -543,7 +543,6 @@
} else {
/* save copy of the current *to cdr */
struct ast_cdr tcdr;
- struct ast_cdr *llfrom = NULL;
memcpy(&tcdr, to, sizeof(tcdr));
/* copy in the locked from cdr */
memcpy(to, from, sizeof(*to));
More information about the svn-commits
mailing list