diff options
| author | Karel Klic <kklic@redhat.com> | 2009-12-07 12:28:16 +0100 |
|---|---|---|
| committer | Karel Klic <kklic@redhat.com> | 2009-12-07 12:28:16 +0100 |
| commit | 9c20953d95a20d031896245f98a62f1e89d29c33 (patch) | |
| tree | 3f808a5be51cbe59e8c5947aeef743575c8cb6e4 /src/CLI/dbus.cpp | |
| parent | c7341fd8519a89af558b341f316931d851a747fc (diff) | |
| parent | fb72ac689ca4832fca215edc942ae01592ecfff8 (diff) | |
| download | abrt-9c20953d95a20d031896245f98a62f1e89d29c33.tar.gz abrt-9c20953d95a20d031896245f98a62f1e89d29c33.tar.xz abrt-9c20953d95a20d031896245f98a62f1e89d29c33.zip | |
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
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); } |
