]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
make this work for a few more things.. this will probably need to move to a dialect
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 24 May 2007 00:51:56 +0000 (00:51 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 24 May 2007 00:51:56 +0000 (00:51 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@122 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/freetdm/src/isdn/Q931ie.c

index 46e0173aa47ef8ef9e98d94de7f389ee7c270fb0..f6d29610d94198d8add7c48b2ef9ab99aeb4d806 100644 (file)
@@ -820,7 +820,7 @@ L3INT Q931Uie_CallingNum(Q931_TrunkInfo_t *pTrunk, ie *pIE, L3UCHAR * IBuf, L3UC
         Off++;
         x++;
 /*    }while((IBuf[Octet+Off]&0x80) != 0 && x < 20); Temporary dirty hack. */
-       }while(Octet+Off < IESize);
+       }while(Q931MoreIE());
 
     Q931IESizeTest(Q931E_CALLINGNUM);