From e92c5f8c40d20cc85795137c7d43136ebf32c327 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 3 Feb 2009 20:58:30 +0000 Subject: [PATCH] fix endless loop git-svn-id: http://svn.openzap.org/svn/openzap/trunk@642 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/freetdm/src/isdn/Q931mes.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/freetdm/src/isdn/Q931mes.c b/libs/freetdm/src/isdn/Q931mes.c index f77f3837f1..b89cf6fbba 100644 --- a/libs/freetdm/src/isdn/Q931mes.c +++ b/libs/freetdm/src/isdn/Q931mes.c @@ -600,6 +600,9 @@ L3INT Q931Umes_Notify(Q931_TrunkInfo_t *pTrunk, L3UCHAR *IBuf, Q931mes_Generic * if (rc != Q931E_NO_ERROR) return rc; break; + default: + return Q931E_ILLEGAL_IE; + break; } }