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
This commit is contained in:
Minjun Li 2009-05-26 15:28:00 +08:00 committed by Denis Kenzior
parent 0755110ccc
commit e7fe2273d9
1 changed files with 1 additions and 1 deletions

View File

@ -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)