]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
_Really_ skip the channel... don't just retry for another 200 cycles.
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 29 Jun 2010 22:58:58 +0000 (22:58 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 29 Jun 2010 22:58:58 +0000 (22:58 +0000)
(Closes issue SWP-1652, ABE-2240)

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

main/channel.c

index 4c037468d1b4c0166fcb8da8b7578255b4114368..70324d9e503a3b3fb7bca060798db15b86905ecb 100644 (file)
@@ -1149,7 +1149,7 @@ static struct ast_channel *channel_find_locked(const struct ast_channel *prev,
                                 * as there can be no more matches.
                                 */
                                if (!(name && !namelen)) {
-                                       prev = c;
+                                       _prev = c;
                                        retries = -1;
                                }
                        }