diff options
author | Zdenek Prikryl <zprikryl@redhat.com> | 2009-06-24 10:00:58 +0200 |
---|---|---|
committer | Zdenek Prikryl <zprikryl@redhat.com> | 2009-06-24 10:00:58 +0200 |
commit | 44b4926781e2e8751488f3ae18614aa1e63e1138 (patch) | |
tree | 177b2c65d052c46c35bb37f52f93fc9a4e684df1 | |
parent | 41159650f5401908876548572bcd0c2615e14b18 (diff) | |
download | abrt-44b4926781e2e8751488f3ae18614aa1e63e1138.tar.gz abrt-44b4926781e2e8751488f3ae18614aa1e63e1138.tar.xz abrt-44b4926781e2e8751488f3ae18614aa1e63e1138.zip |
minor fixes
-rw-r--r-- | lib/Plugins/Bugzilla.cpp | 4 | ||||
-rw-r--r-- | lib/Plugins/Bugzilla.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp index 80cbec45..6b5233a8 100644 --- a/lib/Plugins/Bugzilla.cpp +++ b/lib/Plugins/Bugzilla.cpp @@ -224,6 +224,10 @@ void CReporterBugzilla::AddAttachments(const std::string& pBugId, const map_cras if (it->second[CD_TYPE] == CD_ATT) { base64 = NSSBase64Encoder_Create(Base64Encode_cb, this); + if (!base64) + { + throw CABRTException(EXCEP_PLUGIN, "CReporterBugzilla::AddAttachemnt(): cannot initialize base64."); + } NSSBase64Encoder_Update(base64, reinterpret_cast<const unsigned char*>(it->second[CD_CONTENT].c_str()), it->second[CD_CONTENT].length()); diff --git a/lib/Plugins/Bugzilla.h b/lib/Plugins/Bugzilla.h index cd2d5cd6..88d5b179 100644 --- a/lib/Plugins/Bugzilla.h +++ b/lib/Plugins/Bugzilla.h @@ -47,7 +47,7 @@ PLUGIN_INFO(REPORTER, "Check if a bug isn't already reported in a bugzilla " "and if not, report it.", "zprikryl@redhat.com", - "https://fedorahosted.org/crash-catcher/wiki"); + "https://fedorahosted.org/abrt/wiki"); #endif /* BUGZILLA_H_ */ |