From: Tilghman Lesher Date: Tue, 29 Jun 2010 22:58:58 +0000 (+0000) Subject: _Really_ skip the channel... don't just retry for another 200 cycles. X-Git-Tag: 1.4.35-rc1~50 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=96e6915e83f7f08785f273a59652cf7e755ca018;p=thirdparty%2Fasterisk.git _Really_ skip the channel... don't just retry for another 200 cycles. (Closes issue SWP-1652, ABE-2240) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@273057 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/channel.c b/main/channel.c index 4c037468d1..70324d9e50 100644 --- a/main/channel.c +++ b/main/channel.c @@ -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; } }