summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Mailx.cpp
diff options
context:
space:
mode:
authorZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-07 10:39:49 +0200
committerZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-07 10:39:49 +0200
commit72a96c03f783e55daff80d331811bc43198283fd (patch)
tree264784b5dc5d96222027343013803ac2f4756d78 /lib/Plugins/Mailx.cpp
parentf1e38ce849b56d58f6227f09cffc46dd1fafe0b1 (diff)
downloadabrt-72a96c03f783e55daff80d331811bc43198283fd.tar.gz
abrt-72a96c03f783e55daff80d331811bc43198283fd.tar.xz
abrt-72a96c03f783e55daff80d331811bc43198283fd.zip
added "editable" item
Diffstat (limited to 'lib/Plugins/Mailx.cpp')
-rw-r--r--lib/Plugins/Mailx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Plugins/Mailx.cpp b/lib/Plugins/Mailx.cpp
index 172f5fd..dbadb1e 100644
--- a/lib/Plugins/Mailx.cpp
+++ b/lib/Plugins/Mailx.cpp
@@ -66,7 +66,7 @@ void CMailx::Report(const map_crash_report_t& pCrashReport)
map_crash_report_t::const_iterator it;
for (it = pCrashReport.begin(); it != pCrashReport.end(); it++)
{
- if (it->second[CD_TYPE] == type_crash_data_t_str[CD_TXT])
+ if (it->second[CD_TYPE] == CD_TXT)
{
if (it->first != FILENAME_UUID &&
it->first != FILENAME_ARCHITECTURE &&
@@ -90,7 +90,7 @@ void CMailx::Report(const map_crash_report_t& pCrashReport)
commonFiles << it->second[CD_CONTENT] << std::endl;
}
}
- if (it->second[CD_TYPE] == type_crash_data_t_str[CD_BIN])
+ if (it->second[CD_TYPE] == CD_BIN)
{
binaryFiles << " -a " << it->second[CD_CONTENT];
}