diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-09-28 16:59:15 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-09-28 16:59:15 -0500 |
commit | d70d4228663c3ce0f3aa3dea13bdb6ed2ddfb7fa (patch) | |
tree | 1fab47b3c0ac5835f3e1c918a09bbc52050bb78c | |
parent | ddb32c99ab842e25c50368c786247604b7b32730 (diff) | |
download | ofono-d70d4228663c3ce0f3aa3dea13bdb6ed2ddfb7fa.tar.bz2 |
voicecall: Set single_call correctly
-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); |