From 852e53593070dd0346a7385a62a10c1c0946b5c0 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 26 May 2009 08:48:57 +0800 Subject: [PATCH] minor bug in dial_callback and voicecall_busy --- src/voicecall.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/voicecall.c b/src/voicecall.c index bbc7bf5..8318143 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -198,7 +198,7 @@ static DBusMessage *voicecall_busy(DBusConnection *conn, call->status != CALL_STATUS_WAITING) return dbus_gsm_failed(msg); - if (!voicecalls->ops->release_specific) + if (!voicecalls->ops->set_udub) return dbus_gsm_not_implemented(msg); if (voicecalls->flags & VOICECALLS_FLAG_PENDING) @@ -1444,7 +1444,7 @@ static void dial_callback(const struct ofono_error *error, void *data) } ofono_debug("Registering new call: %d", call->id); - voicecall_dbus_register(voicecall_create(modem, call)); + voicecall_dbus_register(v); calls->call_list = g_slist_insert_sorted(calls->call_list, v, call_compare); -- 1.6.0.3