Skip to content
Snippets Groups Projects
Commit ae223f55 authored by yanmorin's avatar yanmorin
Browse files

It seems to be a hard one.
parent e83013f6
Branches
Tags
No related merge requests found
...@@ -276,7 +276,7 @@ ManagerImpl::hangupCall (CALLID id) ...@@ -276,7 +276,7 @@ ManagerImpl::hangupCall (CALLID id)
if (call == NULL) { if (call == NULL) {
return -1; return -1;
} }
if (call->getState() != Call::Error) { if (call->getState() == Call::Error) {
return -1; return -1;
} }
int result = call->hangup(); int result = call->hangup();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment