voicecall: Set single_call correctly

This commit is contained in:
Denis Kenzior 2010-09-28 16:59:15 -05:00
parent ddb32c99ab
commit d70d422866
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ static DBusMessage *voicecall_hangup(DBusConnection *conn,
struct voicecall *v = data;
struct ofono_voicecall *vc = v->vc;
struct ofono_call *call = v->call;
gboolean single_call = vc->call_list->next != 0;
gboolean single_call = vc->call_list->next == 0;
if (vc->pending)
return __ofono_error_busy(msg);