diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-01-19 16:02:40 +0100 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-01-19 16:02:40 +0100 |
| commit | f750288769b23497ad5b57b1c50f683402c509f6 (patch) | |
| tree | b71f2a2c6ed6b5a1f5353c58780b09ef55f2c383 /lib/Plugins/Bugzilla.cpp | |
| parent | b8ef905c6455ef98cd7fa488de7d602a70bd57dc (diff) | |
| parent | b7e20eb84250ce9feeefde8dad2eab448125dc5d (diff) | |
| download | abrt-f750288769b23497ad5b57b1c50f683402c509f6.tar.gz abrt-f750288769b23497ad5b57b1c50f683402c509f6.tar.xz abrt-f750288769b23497ad5b57b1c50f683402c509f6.zip | |
Merge branch 'master' into rhel6
Diffstat (limited to 'lib/Plugins/Bugzilla.cpp')
| -rw-r--r-- | lib/Plugins/Bugzilla.cpp | 2 |
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. |
