From e7fe2273d94e580121fd41851d3c1718e05e4088 Mon Sep 17 00:00:00 2001 From: Minjun Li Date: Tue, 26 May 2009 15:28:00 +0800 Subject: [PATCH] Fix erroneous check in voicecall_busy to set_udub The not implemented check should be checking for the presence of the set_udub function, not the presence of the release_specific function --- src/voicecall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/voicecall.c b/src/voicecall.c index bbc7bf56..73d88897 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)