[svn-commits] kpfleming: trunk r38369 - /trunk/apps/app_chanspy.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Thu Jul 27 15:21:46 MST 2006
Author: kpfleming
Date: Thu Jul 27 17:21:46 2006
New Revision: 38369
URL: http://svn.digium.com/view/asterisk?rev=38369&view=rev
Log:
restore infinite timeout for ast_waitfor() call
Modified:
trunk/apps/app_chanspy.c
Modified: trunk/apps/app_chanspy.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_chanspy.c?rev=38369&r1=38368&r2=38369&view=diff
==============================================================================
--- trunk/apps/app_chanspy.c (original)
+++ trunk/apps/app_chanspy.c Thu Jul 27 17:21:46 2006
@@ -292,7 +292,7 @@
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)) {
More information about the svn-commits
mailing list