Bug fix: use ObjList::skipNext() instead of ObjList::next() in order to avoid segmentation fault.
git-svn-id: http://voip.null.ro/svn/yate@5153 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
6ee7811217
commit
a5dd14a0cf
|
@ -414,7 +414,7 @@ bool IAXEngine::processTrunkFrames(u_int32_t time)
|
|||
{
|
||||
Lock lock(&m_mutexTrunk);
|
||||
bool sent = false;
|
||||
for (ObjList* l = m_trunkList.skipNull(); l; l = l->next()) {
|
||||
for (ObjList* l = m_trunkList.skipNull(); l; l = l->skipNext()) {
|
||||
IAXMetaTrunkFrame* frame = static_cast<IAXMetaTrunkFrame*>(l->get());
|
||||
// Frame has mini frame(s) ?
|
||||
if (!frame->timestamp())
|
||||
|
|
Loading…
Reference in New Issue