[svn-commits] mattf: branch 1.2 r4025 - /branches/1.2/wctdm24xxp/base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Mar 19 13:51:44 CDT 2008


Author: mattf
Date: Wed Mar 19 13:51:44 2008
New Revision: 4025

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4025
Log:
Make sure this check is made in 1.2 as well

Modified:
    branches/1.2/wctdm24xxp/base.c

Modified: branches/1.2/wctdm24xxp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/wctdm24xxp/base.c?view=diff&rev=4025&r1=4024&r2=4025
==============================================================================
--- branches/1.2/wctdm24xxp/base.c (original)
+++ branches/1.2/wctdm24xxp/base.c Wed Mar 19 13:51:44 2008
@@ -2673,6 +2673,10 @@
 				continue;
 			}
 
+			if (res == RefNoEventAvail) {
+				continue;
+			}
+
 			if (eventcode == EventToneDetect) {
 				GpakToneCodes_t tone = eventdata.toneEvent.ToneCode;
 				int duration = eventdata.toneEvent.ToneDuration;




More information about the svn-commits mailing list