diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-03 18:07:45 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-03 18:07:45 +0100 |
commit | 51f279ca689ea79a873d1f80b000fd3f163b3087 (patch) | |
tree | f7ee061992c21c27ad7c82cac84b86391502d425 /src/CLI/dbus.cpp | |
parent | a756114f9d29983d9505309efb3b6f0ed09f946f (diff) | |
download | abrt-51f279ca689ea79a873d1f80b000fd3f163b3087.tar.gz abrt-51f279ca689ea79a873d1f80b000fd3f163b3087.tar.xz abrt-51f279ca689ea79a873d1f80b000fd3f163b3087.zip |
rename CreateReport -> StartJob, GetJobResult -> CreateReport
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/CLI/dbus.cpp')
-rw-r--r-- | src/CLI/dbus.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/CLI/dbus.cpp b/src/CLI/dbus.cpp index 50ca651b..67c489e0 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; } |