diff options
Diffstat (limited to 'src/cli/dbus.cpp')
| -rw-r--r-- | src/cli/dbus.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cli/dbus.cpp b/src/cli/dbus.cpp index 7565d5bc..f9271b85 100644 --- a/src/cli/dbus.cpp +++ b/src/cli/dbus.cpp @@ -161,7 +161,7 @@ map_crash_data_t call_CreateReport(const char* crash_id) report_status_t call_Report(const map_crash_data_t& report, const vector_string_t& reporters, - const map_map_string_t &plugins) + GHashTable *plugins) { DBusMessage* msg = new_call_msg(__func__ + 5); DBusMessageIter out_iter; @@ -172,8 +172,8 @@ report_status_t call_Report(const map_crash_data_t& report, /* parameter #2: reporters to use */ store_val(&out_iter, reporters); /* parameter #3 (opt): plugin config */ - if (!plugins.empty()) - store_val(&out_iter, plugins); + if (g_hash_table_size(plugins)) + store_hash_table_map_string_t(&out_iter, plugins); DBusMessage *reply = send_get_reply_and_unref(msg); |
