diff options
| author | Karel Klic <kklic@redhat.com> | 2010-03-18 11:18:19 +0100 |
|---|---|---|
| committer | Karel Klic <kklic@redhat.com> | 2010-03-18 11:18:19 +0100 |
| commit | e2d79ab74c2bfa798a3ec9772eb57bc4bcc7a7b8 (patch) | |
| tree | 05e4aeede1499a548d02304f1d68276e21630612 /src/Daemon/CommLayerServerDBus.cpp | |
| parent | f916f9dc8938cd59fa8a119f245e6e61d1adf496 (diff) | |
| download | abrt-e2d79ab74c2bfa798a3ec9772eb57bc4bcc7a7b8.tar.gz abrt-e2d79ab74c2bfa798a3ec9772eb57bc4bcc7a7b8.tar.xz abrt-e2d79ab74c2bfa798a3ec9772eb57bc4bcc7a7b8.zip | |
Allow user to select which reporter he wants to use to report a crash using CLI.
The daemon skips reporters which are not in the list of reporters provided via Report() dbus call.
Reviewed by: Jiri Moskovcak <jmoskovc@redhat.com>
Reviewed by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/CommLayerServerDBus.cpp')
| -rw-r--r-- | src/Daemon/CommLayerServerDBus.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Daemon/CommLayerServerDBus.cpp b/src/Daemon/CommLayerServerDBus.cpp index 103f8675..d45209a3 100644 --- a/src/Daemon/CommLayerServerDBus.cpp +++ b/src/Daemon/CommLayerServerDBus.cpp @@ -247,7 +247,7 @@ static int handle_Report(DBusMessage* call, DBusMessage* reply) return 0; } - /* Second parameter: reporters to use */ + /* Second parameter: list of reporters to use */ vector_string_t reporters; r = load_val(&in_iter, reporters); if (r == ABRT_DBUS_ERROR) @@ -256,7 +256,7 @@ static int handle_Report(DBusMessage* call, DBusMessage* reply) return -1; } - /* Third parameter is optional */ + /* Third parameter (optional): configuration data for plugins */ map_map_string_t user_conf_data; if (r == ABRT_DBUS_MORE_FIELDS) { @@ -294,7 +294,7 @@ static int handle_Report(DBusMessage* call, DBusMessage* reply) report_status_t argout1; try { - argout1 = Report(argin1, user_conf_data, unix_uid); + argout1 = Report(argin1, reporters, user_conf_data, unix_uid); } catch (CABRTException &e) { |
