From ad094d51099396d1fdbd5b84b1c08eb7fb441781 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 30 Jul 2007 18:56:29 +0000 Subject: [PATCH] Merged revisions 77785 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r77785 | russell | 2007-07-30 13:55:15 -0500 (Mon, 30 Jul 2007) | 3 lines file and I both committed changes for issue #10301. Remove a duplicated assignment to restore the original value of the previous channel. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77786 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/channel.c b/main/channel.c index e1595bddf4..d49344ad2f 100644 --- a/main/channel.c +++ b/main/channel.c @@ -931,7 +931,7 @@ static struct ast_channel *channel_find_locked(const struct ast_channel *prev, 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_RWLIST_RDLOCK(&channels); AST_RWLIST_TRAVERSE(&channels, c, chan_list) {