From 50b9a3f375ab8f9df8f357d4cb068f60048ac285 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 11 Jun 2009 10:43:30 -0500 Subject: Fix for multiparty_hangup Due to the use of an invalid structure, release_all_active was being called instead of release_all_held --- src/voicecall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/voicecall.c b/src/voicecall.c index 5b6f94a2..541419cc 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -1016,9 +1016,9 @@ static DBusMessage *multiparty_hangup(DBusConnection *conn, voicecalls_release_queue(modem, calls->multiparty_list); voicecalls_release_next(modem); } else { - struct ofono_call *v = calls->multiparty_list->data; + struct voicecall *v = calls->multiparty_list->data; - if (v->status == CALL_STATUS_HELD) + if (v->call->status == CALL_STATUS_HELD) calls->ops->release_all_held(modem, generic_callback, calls); else -- cgit v1.2.3