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:
paulc 2005-12-20 12:43:30 +00:00
parent 8770373ce1
commit 7066b35827
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}