diff options
| author | Karel Klic <kklic@redhat.com> | 2010-02-08 14:16:25 +0100 |
|---|---|---|
| committer | Karel Klic <kklic@redhat.com> | 2010-02-08 14:16:25 +0100 |
| commit | f80fd803eab649f6b245b3169b165ba2fd170a6e (patch) | |
| tree | b089bc38a086cae47f76c692e711a3d042134f00 /lib/Plugins | |
| parent | ad1c37d1b863277d82e6b4b866171a8464dec33c (diff) | |
| parent | 94b1d40a72f55b787fa78a9398f47eb8514e0d21 (diff) | |
| download | abrt-f80fd803eab649f6b245b3169b165ba2fd170a6e.tar.gz abrt-f80fd803eab649f6b245b3169b165ba2fd170a6e.tar.xz abrt-f80fd803eab649f6b245b3169b165ba2fd170a6e.zip | |
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/Plugins')
| -rw-r--r-- | lib/Plugins/Bugzilla.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp index b809e34..9e889c4 100644 --- a/lib/Plugins/Bugzilla.cpp +++ b/lib/Plugins/Bugzilla.cpp @@ -315,8 +315,14 @@ uint32_t ctx::new_bug(const map_crash_data_t& pCrashData) const std::string& release = get_crash_data_item_content(pCrashData, FILENAME_RELEASE); const std::string& arch = get_crash_data_item_content(pCrashData, FILENAME_ARCHITECTURE); const std::string& uuid = get_crash_data_item_content(pCrashData, CD_DUPHASH); + const char *reason = get_crash_data_item_content_or_NULL(pCrashData, FILENAME_REASON); std::string summary = "[abrt] crash in " + package; + if (reason != NULL) + { + summary += ": "; + summary += reason; + } std::string status_whiteboard = "abrt_hash:" + uuid; std::string description = "abrt "VERSION" detected a crash.\n\n"; |
