mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
restore infinite timeout for ast_waitfor() call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -292,7 +292,7 @@ static int channel_spy(struct ast_channel *chan, struct ast_channel *spyee, int
|
||||
has arrived, since the spied-on channel could have gone away while
|
||||
we were waiting
|
||||
*/
|
||||
while ((res = ast_waitfor(chan, 500) > -1) &&
|
||||
while ((res = ast_waitfor(chan, -1) > -1) &&
|
||||
csth.spy.status == CHANSPY_RUNNING &&
|
||||
!ast_check_hangup(chan) &&
|
||||
!ast_check_hangup(spyee)) {
|
||||
|
||||
Reference in New Issue
Block a user