diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-25 20:46:10 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-25 20:46:10 +0100 |
commit | 1092802b4a1441e809e98d1583a882043b360ee2 (patch) | |
tree | 97e072433abfd219b34b49cc78d69ddf9cfb56f3 /lib/Plugins | |
parent | 48d29f4764d89a5509509fc6371cc18808efb109 (diff) | |
download | abrt-1092802b4a1441e809e98d1583a882043b360ee2.tar.gz abrt-1092802b4a1441e809e98d1583a882043b360ee2.tar.xz abrt-1092802b4a1441e809e98d1583a882043b360ee2.zip |
replace hardcoded "Red Hat Enterprise Linux", "6.0" by proper parsing
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'lib/Plugins')
-rw-r--r-- | lib/Plugins/RHTSupport.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Plugins/RHTSupport.cpp b/lib/Plugins/RHTSupport.cpp index 50eee076..2091a8e0 100644 --- a/lib/Plugins/RHTSupport.cpp +++ b/lib/Plugins/RHTSupport.cpp @@ -233,11 +233,14 @@ string CReporterRHticket::Report(const map_crash_data_t& pCrashData, } { + map_crash_data_t::const_iterator it = pCrashData.find(FILENAME_RELEASE); + const char *release = (it != pCrashData.end()) ? it->second[CD_CONTENT].c_str() : ""; update_client(_("Creating a new case...")); char* result = send_report_to_new_case(URL.c_str(), login.c_str(), password.c_str(), ssl_verify, + release, summary.c_str(), description.c_str(), package.c_str(), |