]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
file and I both committed changes for issue #10301. Remove a duplicated
authorRussell Bryant <russell@russellbryant.com>
Mon, 30 Jul 2007 18:55:15 +0000 (18:55 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 30 Jul 2007 18:55:15 +0000 (18:55 +0000)
assignment to restore the original value of the previous channel.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@77785 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/channel.c

index a34577772e0752bb0029dd070812aa12cff8ca9c..c34fcba84268f3c1e2bf22c19972f21fc5dec91e 100644 (file)
@@ -1034,7 +1034,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_LIST_LOCK(&channels);
                AST_LIST_TRAVERSE(&channels, c, chan_list) {