From 96e6915e83f7f08785f273a59652cf7e755ca018 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Tue, 29 Jun 2010 22:58:58 +0000 Subject: [PATCH] _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 --- main/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.47.2