[Asterisk-cvs] asterisk/channels chan_zap.c,1.379,1.380

markster at lists.digium.com markster at lists.digium.com
Fri Nov 19 08:45:28 CST 2004


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

Modified Files:
	chan_zap.c 
Log Message:
Fix V23 callerid handling if an event is received (bug #2909)


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.379
retrieving revision 1.380
diff -u -d -r1.379 -r1.380
--- chan_zap.c	17 Nov 2004 06:18:33 -0000	1.379
+++ chan_zap.c	19 Nov 2004 13:45:44 -0000	1.380
@@ -5315,6 +5315,7 @@
 							res = zt_get_event(p->subs[index].zfd);
 							ast_log(LOG_NOTICE, "Got event %d (%s)...\n", res, event2str(res));
 							res = 0;
+							break;
 						} else if (i & ZT_IOMUX_READ) {
 							res = read(p->subs[index].zfd, buf, sizeof(buf));
 							if (res < 0) {




More information about the svn-commits mailing list