summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrédéric Danis <frederic.danis@linux.intel.com>2011-03-24 18:43:22 +0100
committerDenis Kenzior <denkenz@gmail.com>2011-03-24 13:29:49 -0500
commitf7f6fd75ae9edc87066229a08c43be5a631b2aaa (patch)
tree28dc5619c6c341a8e51b5d57d03b878b9f6a8d17 /src
parent155cf8f9c45856a8dc8597f90806c5a8b3e30351 (diff)
downloadofono-f7f6fd75ae9edc87066229a08c43be5a631b2aaa.tar.bz2
voicecall: fix voicecalls_release_queue
voicecalls_release_queue uses struct ofono_call instead of struct voicecall (which is used in "calls" list parameter and function voicecalls_release_next)
Diffstat (limited to 'src')
-rw-r--r--src/voicecall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/voicecall.c b/src/voicecall.c
index 4932ffa4..b1d55866 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -1070,7 +1070,7 @@ static void voicecalls_emit_call_added(struct ofono_voicecall *vc,
static void voicecalls_release_queue(struct ofono_voicecall *vc, GSList *calls)
{
GSList *l;
- struct ofono_call *call;
+ struct voicecall *call;
g_slist_free(vc->release_list);
vc->release_list = NULL;
@@ -1078,7 +1078,7 @@ static void voicecalls_release_queue(struct ofono_voicecall *vc, GSList *calls)
for (l = calls; l; l = l->next) {
call = l->data;
- if (call->status == CALL_STATUS_WAITING)
+ if (call->call->status == CALL_STATUS_WAITING)
continue;
vc->release_list = g_slist_prepend(vc->release_list, l->data);