From b348085ac9f3d4a7ded81026bffa962a065bdf97 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 19 Jan 2010 13:55:23 +0100 Subject: Eliminate ATT file type - use TXT or BIN Signed-off-by: Denys Vlasenko --- lib/Plugins/Mailx.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'lib/Plugins/Mailx.cpp') diff --git a/lib/Plugins/Mailx.cpp b/lib/Plugins/Mailx.cpp index df33e84c..2f8448f5 100644 --- a/lib/Plugins/Mailx.cpp +++ b/lib/Plugins/Mailx.cpp @@ -74,7 +74,7 @@ std::string CMailx::Report(const map_crash_report_t& pCrashReport, args = append_str_to_vector(args, arg_size, MAILX_COMMAND); //TODO: move email body generation to make_descr.cpp - std::string binaryFiles, commonFiles, bigTextFiles, additionalFiles, UUIDFile; + std::string binaryFiles, commonFiles, additionalFiles, UUIDFile; map_crash_report_t::const_iterator it; for (it = pCrashReport.begin(); it != pCrashReport.end(); it++) { @@ -105,13 +105,6 @@ std::string CMailx::Report(const map_crash_report_t& pCrashReport, commonFiles += "\n\n"; } } - if (it->second[CD_TYPE] == CD_ATT) - { - bigTextFiles += it->first; - bigTextFiles += "\n-----\n"; - bigTextFiles += it->second[CD_CONTENT]; - bigTextFiles += "\n\n"; - } if (it->second[CD_TYPE] == CD_BIN) { binaryFiles += " -a "; @@ -133,9 +126,6 @@ std::string CMailx::Report(const map_crash_report_t& pCrashReport, emailBody += "\nAdditional information\n"; emailBody += "=====\n\n"; emailBody += additionalFiles; - emailBody += "\nOther information\n"; - emailBody += "=====\n\n"; - emailBody += bigTextFiles; emailBody += '\n'; args = append_str_to_vector(args, arg_size, "-s"); -- cgit