voicecall: Simplify logic

This commit is contained in:
Denis Kenzior 2010-09-09 21:57:15 -05:00
parent 52161db428
commit b7f1733fe4
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ static void dial_request_user_cancel(struct ofono_voicecall *vc,
return;
if (!call || call == vc->dial_req->call)
dial_request_finish(vc->dial_req->call->vc, TRUE);
dial_request_finish(vc, TRUE);
}
static DBusMessage *voicecall_hangup(DBusConnection *conn,