aboutsummaryrefslogtreecommitdiffstats
path: root/main/channel.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-29 22:58:58 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-29 22:58:58 +0000
commit3cd67d144572533e23cf453c6313968925760f1a (patch)
treee9deb52c048e763d9d308a69b9a4f527e873893f /main/channel.c
parentda14ec446414e54c3870a13daf289698a089adc9 (diff)
_Really_ skip the channel... don't just retry for another 200 cycles.
(Closes issue SWP-1652, ABE-2240) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@273057 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/channel.c')
-rw-r--r--main/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c
index 4c037468d..70324d9e5 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;
}
}