From d70d4228663c3ce0f3aa3dea13bdb6ed2ddfb7fa Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 28 Sep 2010 16:59:15 -0500 Subject: voicecall: Set single_call correctly --- src/voicecall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/voicecall.c b/src/voicecall.c index f6ed988a..2833e640 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -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); -- cgit v1.2.3