Fixed a race condition setting the result code in YateSIPGenerate.
git-svn-id: http://voip.null.ro/svn/yate@612 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
8770373ce1
commit
7066b35827
|
@ -2553,10 +2553,10 @@ bool YateSIPGenerate::process(SIPEvent* ev)
|
|||
return false;
|
||||
if (ev->getState() != SIPTransaction::Process)
|
||||
return false;
|
||||
m_code = msg->code;
|
||||
clearTransaction();
|
||||
Debug(&plugin,DebugAll,"YateSIPGenerate got answer %d [%p]",
|
||||
msg->code,this);
|
||||
m_code = msg->code;
|
||||
m_code,this);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue