Skip to content
Snippets Groups Projects
Commit 4e00e4dc authored by Yun Liu's avatar Yun Liu
Browse files

Fix daemon crash caused by the previous patch ( for bug ticket #129)

parent 58877d10
No related branches found
No related tags found
No related merge requests found
...@@ -274,7 +274,7 @@ ManagerImpl::answerCall(const CallID& id) ...@@ -274,7 +274,7 @@ ManagerImpl::answerCall(const CallID& id)
return false; return false;
} }
if (hasCurrentCall()) { if (id != getCurrentCallId()) {
_debug("* Manager Info: there is currently a call, try to hold it\n"); _debug("* Manager Info: there is currently a call, try to hold it\n");
onHoldCall(getCurrentCallId()); onHoldCall(getCurrentCallId());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment