From 95a2b74dc9a4b9de18b8e7e9c28c644bba876778 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 18 Mar 2011 13:35:40 +0100 Subject: Replace FILENAME_MESSAGE with FILENAME_REPORTED_TO. This fixes the problem with abrt-cli not showing unreported bugs and abrt-gui not showing "green lamp" for reported bugs. In general, it introduces a way to record reporting results, such as Bugzilla URL, in dump dir. In the future, this enables such functions as "check BZ status". Signed-off-by: Denys Vlasenko --- src/daemon/MiddleWare.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/daemon') diff --git a/src/daemon/MiddleWare.cpp b/src/daemon/MiddleWare.cpp index a4503b57..77e18b0a 100644 --- a/src/daemon/MiddleWare.cpp +++ b/src/daemon/MiddleWare.cpp @@ -376,7 +376,7 @@ report_status_t Report(crash_data_t *client_report, struct dump_dir *dd = dd_opendir(dump_dir_name, /*flags:*/ 0); if (dd) { - dd_save_text(dd, FILENAME_MESSAGE, message.c_str()); + add_reported_to(dd, message.c_str()); dd_close(dd); } } -- cgit