summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Mailx.cpp
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-03-04 17:45:59 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-03-04 17:45:59 +0100
commit392329e8268de8fc9d77e36c1d50403c81afc62f (patch)
treed83705d8dd7758d45306595c7d0d0b0b0d3bfc72 /lib/Plugins/Mailx.cpp
parentfb618b39a7de74b9cc58db322599603fc880ac36 (diff)
downloadabrt-392329e8268de8fc9d77e36c1d50403c81afc62f.tar.gz
abrt-392329e8268de8fc9d77e36c1d50403c81afc62f.tar.xz
abrt-392329e8268de8fc9d77e36c1d50403c81afc62f.zip
Fixed saving of user comment
Diffstat (limited to 'lib/Plugins/Mailx.cpp')
-rw-r--r--lib/Plugins/Mailx.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Plugins/Mailx.cpp b/lib/Plugins/Mailx.cpp
index c1cb631..11a9a6c 100644
--- a/lib/Plugins/Mailx.cpp
+++ b/lib/Plugins/Mailx.cpp
@@ -99,6 +99,12 @@ void CMailx::Report(const crash_report_t& pReport)
ss << "-----------" << std::endl;
ss << pReport.m_sTextData2 << std::endl << std::endl;
}
+ if (pReport.m_sComment != "")
+ {
+ ss << "User Comments" << std::endl;
+ ss << "-----------" << std::endl;
+ ss << pReport.m_sComment << std::endl << std::endl;
+ }
ss << "Binary reports" << std::endl;
ss << "==============" << std::endl;
ss << "See the attachment[s]" << std::endl;