summaryrefslogtreecommitdiffstats
path: root/src/daemon
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-03-18 13:35:40 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2011-03-18 13:35:40 +0100
commit95a2b74dc9a4b9de18b8e7e9c28c644bba876778 (patch)
tree52f45b6467ec81d89da25571e31e48a9797c57c2 /src/daemon
parentcf9dc0c650065cd5cfc55394d9ee68c9d589e15a (diff)
downloadabrt-95a2b74dc9a4b9de18b8e7e9c28c644bba876778.zip
abrt-95a2b74dc9a4b9de18b8e7e9c28c644bba876778.tar.gz
abrt-95a2b74dc9a4b9de18b8e7e9c28c644bba876778.tar.xz
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 <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/MiddleWare.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/MiddleWare.cpp b/src/daemon/MiddleWare.cpp
index a4503b5..77e18b0 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);
}
}