diff options
| author | Zdenek Prikryl <zprikryl@redhat.com> | 2009-02-18 10:08:45 +0100 |
|---|---|---|
| committer | Zdenek Prikryl <zprikryl@redhat.com> | 2009-02-18 10:08:45 +0100 |
| commit | 02210a03a15b733f8ecda7221c95fbe45b300af6 (patch) | |
| tree | 6614fff9ca90df98ca6b2b7177de8606e469a048 /lib/Plugins/Mailx.cpp | |
| parent | 6aaeb6623eaa78f9a45f0f2c7b418939a1c4baf5 (diff) | |
| download | abrt-02210a03a15b733f8ecda7221c95fbe45b300af6.tar.gz abrt-02210a03a15b733f8ecda7221c95fbe45b300af6.tar.xz abrt-02210a03a15b733f8ecda7221c95fbe45b300af6.zip | |
added default values for settings
Diffstat (limited to 'lib/Plugins/Mailx.cpp')
| -rw-r--r-- | lib/Plugins/Mailx.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Plugins/Mailx.cpp b/lib/Plugins/Mailx.cpp index cb26e39..2b8ef35 100644 --- a/lib/Plugins/Mailx.cpp +++ b/lib/Plugins/Mailx.cpp @@ -28,8 +28,8 @@ #define MAILX_SUBJECT "\"CrashCatcher automated bug report\"" CMailx::CMailx() : - m_sEmailFrom(""), - m_sEmailTo(""), + m_sEmailFrom("user@localhost"), + m_sEmailTo("root@localhost"), m_sParameters(""), m_sAttachments("") {} @@ -56,7 +56,7 @@ void CMailx::SendEmail(const std::string& pText) } -void CMailx::Report(const report_t& pReport) +void CMailx::Report(const crash_report_t& pReport) { std::stringstream ss; @@ -97,13 +97,13 @@ void CMailx::Report(const report_t& pReport) ss << "==============" << std::endl; ss << "See the attachment[s]" << std::endl; - if (pReport.m_bBinaryData1 != "") + if (pReport.m_sBinaryData1 != "") { - m_sAttachments = " -a " + pReport.m_bBinaryData1; + m_sAttachments = " -a " + pReport.m_sBinaryData1; } - if (pReport.m_bBinaryData2 != "") + if (pReport.m_sBinaryData2 != "") { - m_sAttachments = " -a " + pReport.m_bBinaryData2; + m_sAttachments = " -a " + pReport.m_sBinaryData2; } SendEmail(ss.str()); |
