summaryrefslogtreecommitdiffstats
path: root/src/CLI/dbus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/CLI/dbus.cpp')
-rw-r--r--src/CLI/dbus.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/CLI/dbus.cpp b/src/CLI/dbus.cpp
index 50ca651..67c489e 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;
}