diff options
Diffstat (limited to 'src/CLI/dbus.cpp')
| -rw-r--r-- | src/CLI/dbus.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/CLI/dbus.cpp b/src/CLI/dbus.cpp index 50ca651..2da9d74 100644 --- a/src/CLI/dbus.cpp +++ b/src/CLI/dbus.cpp @@ -121,9 +121,7 @@ vector_crash_infos_t call_GetCrashInfos() map_crash_report_t call_CreateReport(const char* uuid) { - /* Yes, call name is not "CreateReport" but "GetJobResult". - * We need to clean up the names one day. */ - DBusMessage* msg = new_call_msg("GetJobResult"); + DBusMessage* msg = new_call_msg("CreateReport"); dbus_message_append_args(msg, DBUS_TYPE_STRING, &uuid, DBUS_TYPE_INVALID); @@ -135,7 +133,7 @@ map_crash_report_t call_CreateReport(const char* uuid) dbus_message_iter_init(reply, &in_iter); int r = load_val(&in_iter, argout); if (r != ABRT_DBUS_LAST_FIELD) /* more values present, or bad type */ - error_msg_and_die("dbus call %s: return type mismatch", "GetJobResult"); + error_msg_and_die("dbus call %s: return type mismatch", "CreateReport"); dbus_message_unref(reply); return argout; } @@ -162,8 +160,6 @@ void call_DeleteDebugDump(const char* uuid) DBUS_TYPE_INVALID); DBusMessage *reply = send_get_reply_and_unref(msg); - //it returns a single boolean value, - //but we don't use it (yet?) dbus_message_unref(reply); } |
