diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/voicecall.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |