summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Bugzilla.cpp
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-01-19 14:52:53 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2010-01-19 14:52:53 +0100
commit8ddcb9404d65bc6b09910099988fe6a0f33fe250 (patch)
tree2214c48219c8f3cf1b4110113467fa92d38bfa84 /lib/Plugins/Bugzilla.cpp
parent04d69684f58d851ab604b2ed5eeb04f373efd4d8 (diff)
parentb348085ac9f3d4a7ded81026bffa962a065bdf97 (diff)
downloadabrt-8ddcb9404d65bc6b09910099988fe6a0f33fe250.tar.gz
abrt-8ddcb9404d65bc6b09910099988fe6a0f33fe250.tar.xz
abrt-8ddcb9404d65bc6b09910099988fe6a0f33fe250.zip
resolve conflict
Diffstat (limited to 'lib/Plugins/Bugzilla.cpp')
-rw-r--r--lib/Plugins/Bugzilla.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp
index 6f0f8d7..f963eb9 100644
--- a/lib/Plugins/Bugzilla.cpp
+++ b/lib/Plugins/Bugzilla.cpp
@@ -360,7 +360,7 @@ void ctx::add_attachments(const char* bug_id_str, const map_crash_report_t& pCra
const std::string &type = it->second[CD_TYPE];
const std::string &content = it->second[CD_CONTENT];
- if (type == CD_ATT)
+ if (type == CD_TXT && content.length() > CD_TEXT_ATT_SIZE)
{
char *encoded64 = encode_base64(content.c_str(), content.length());
// fails only when you write query. when it's done it never fails.