[asterisk-commits] russell: branch 1.4 r77785 - /branches/1.4/main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 30 13:55:15 CDT 2007


Author: russell
Date: Mon Jul 30 13:55:15 2007
New Revision: 77785

URL: http://svn.digium.com/view/asterisk?view=rev&rev=77785
Log:
file and I both committed changes for issue #10301.  Remove a duplicated
assignment to restore the original value of the previous channel.

Modified:
    branches/1.4/main/channel.c

Modified: branches/1.4/main/channel.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/channel.c?view=diff&rev=77785&r1=77784&r2=77785
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Mon Jul 30 13:55:15 2007
@@ -1034,7 +1034,7 @@
 	struct ast_channel *c;
 	const struct ast_channel *_prev = prev;
 
-	for (retries = 0; retries < 10; retries++, prev = _prev) {
+	for (retries = 0; retries < 10; retries++) {
 		int done;
 		AST_LIST_LOCK(&channels);
 		AST_LIST_TRAVERSE(&channels, c, chan_list) {




More information about the asterisk-commits mailing list