[Asterisk-cvs] asterisk/apps app_zapscan.c,1.1.2.2,1.1.2.3

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


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

Modified Files:
      Tag: v1-0_stable
	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.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- app_zapscan.c	10 Mar 2004 07:06:06 -0000	1.1.2.2
+++ app_zapscan.c	14 Mar 2004 09:50:17 -0000	1.1.2.3
@@ -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