*** empty log message ***

This commit is contained in:
yanmorin
2005-10-23 22:09:42 +00:00
parent ae223f55d8
commit f00490914a

View File

@ -276,10 +276,10 @@ ManagerImpl::hangupCall (CALLID id)
if (call == NULL) {
return -1;
}
if (call->getState() == Call::Error) {
return -1;
int result = -1;
if (call->getState() != Call::Error) {
result = call->hangup();
}
int result = call->hangup();
deleteCall(id);
stopTone(); // stop tone, like a 700 error: number not found Not Found
return result;