diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-19 13:55:23 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-19 13:55:23 +0100 |
| commit | b348085ac9f3d4a7ded81026bffa962a065bdf97 (patch) | |
| tree | db5fda2df01df4ed7bed0e17f12bf3e5dfd2cbc6 /lib/Plugins/Catcut.cpp | |
| parent | 6edf29e32c72e2d860019b2b987012fe52ac49a0 (diff) | |
| download | abrt-b348085ac9f3d4a7ded81026bffa962a065bdf97.tar.gz abrt-b348085ac9f3d4a7ded81026bffa962a065bdf97.tar.xz abrt-b348085ac9f3d4a7ded81026bffa962a065bdf97.zip | |
Eliminate ATT file type - use TXT or BIN
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/Catcut.cpp')
| -rw-r--r-- | lib/Plugins/Catcut.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Plugins/Catcut.cpp b/lib/Plugins/Catcut.cpp index 27b868d..b69038f 100644 --- a/lib/Plugins/Catcut.cpp +++ b/lib/Plugins/Catcut.cpp @@ -390,9 +390,9 @@ ctx::add_attachments(const char* xmlrpc_URL, map_crash_report_t::const_iterator it = pCrashReport.begin(); for (; it != pCrashReport.end(); it++) { - if (it->second[CD_TYPE] == CD_ATT) + if (it->second[CD_TYPE] == CD_TXT && it->second[CD_TYPE].size() > CD_TEXT_ATT_SIZE) { - update_client(_("Attaching (CD_ATT): %s"), it->first.c_str()); + update_client(_("Attaching (text): %s"), it->first.c_str()); string description = "File: " + it->first; string URL = request_upload(auth_cookie, @@ -410,7 +410,7 @@ ctx::add_attachments(const char* xmlrpc_URL, } else if (it->second[CD_TYPE] == CD_BIN) { - update_client(_("Attaching (CD_ATT): %s"), it->first.c_str()); + update_client(_("Attaching binary: %s"), it->first.c_str()); string description = "File: " + it->first; string URL = request_upload(auth_cookie, |
