[Asterisk-cvs] asterisk/apps app_zapscan.c,1.3,1.4

citats at lists.digium.com citats at lists.digium.com
Sun Mar 14 04:56:09 CST 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv25311/apps

Modified Files:
	app_zapscan.c 
Log Message:
Make ZapScan wait 100ms for data


Index: app_zapscan.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_zapscan.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- app_zapscan.c	10 Mar 2004 07:05:01 -0000	1.3
+++ app_zapscan.c	14 Mar 2004 09:49:58 -0000	1.4
@@ -256,6 +256,8 @@
                 ast_answer(chan);
 
         for (;;) {
+		if (ast_waitfor(chan, 100) < 0)
+			break;
 		f = ast_read(chan);
 		if (!f)
 			break;




More information about the svn-commits mailing list