diff options
Diffstat (limited to 'audio/telephony-maemo.c')
-rw-r--r-- | audio/telephony-maemo.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c index 00f0a2f2..8cc48ea0 100644 --- a/audio/telephony-maemo.c +++ b/audio/telephony-maemo.c @@ -512,6 +512,16 @@ static void handle_call_status(DBusMessage *msg, const char *call_path) static void handle_call_error(DBusMessage *msg, const char *call_path) { + uint8_t type, code; + + if (!dbus_message_get_args(msg, NULL, + DBUS_TYPE_BYTE, &type, + DBUS_TYPE_BYTE, &code)) { + error("Unexpected parameters to CallServiceError"); + return; + } + + debug("telephony-maemo: CallServiceError(%u, %u)", type, code); } static DBusHandlerResult csd_signal_filter(DBusConnection *conn, |