summaryrefslogtreecommitdiffstats
path: root/src/voicecall.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-09-28 16:59:15 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-09-28 16:59:15 -0500
commitd70d4228663c3ce0f3aa3dea13bdb6ed2ddfb7fa (patch)
tree1fab47b3c0ac5835f3e1c918a09bbc52050bb78c /src/voicecall.c
parentddb32c99ab842e25c50368c786247604b7b32730 (diff)
downloadofono-d70d4228663c3ce0f3aa3dea13bdb6ed2ddfb7fa.tar.bz2
voicecall: Set single_call correctly
Diffstat (limited to 'src/voicecall.c')
-rw-r--r--src/voicecall.c2
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);