From 51f279ca689ea79a873d1f80b000fd3f163b3087 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 3 Dec 2009 18:07:45 +0100 Subject: rename CreateReport -> StartJob, GetJobResult -> CreateReport Signed-off-by: Denys Vlasenko --- src/CLI/dbus.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/CLI/dbus.cpp') 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; } -- cgit