aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-27 22:21:46 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-27 22:21:46 +0000
commitbf5386d1604815a1be50188bac2749c794de81c3 (patch)
tree216b1c1227a565b875bf0f6ceb914ffcab808daf /apps
parentfc7e7d52fe325b97746613374f3bdae55609da62 (diff)
restore infinite timeout for ast_waitfor() call
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38369 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_chanspy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c
index 6a405af9e..63f743d01 100644
--- a/apps/app_chanspy.c
+++ b/apps/app_chanspy.c
@@ -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)) {