diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-03-09 16:51:31 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-03-09 16:51:31 +0100 |
commit | a9aae7ddc511b1d73792aedcff821ab637d40984 (patch) | |
tree | 8610c1faa3cd33297e5dcb6f9aabbeeb29f84a4f /lib/MiddleWare | |
parent | 86b2965442c13c97f4634c1d28a58c88ea48168a (diff) | |
download | abrt-a9aae7ddc511b1d73792aedcff821ab637d40984.tar.gz abrt-a9aae7ddc511b1d73792aedcff821ab637d40984.tar.xz abrt-a9aae7ddc511b1d73792aedcff821ab637d40984.zip |
Fixed empty package Description.
Diffstat (limited to 'lib/MiddleWare')
-rw-r--r-- | lib/MiddleWare/MiddleWare.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MiddleWare/MiddleWare.cpp b/lib/MiddleWare/MiddleWare.cpp index 4dcf664c..c32b2e16 100644 --- a/lib/MiddleWare/MiddleWare.cpp +++ b/lib/MiddleWare/MiddleWare.cpp @@ -290,13 +290,13 @@ int CMiddleWare::SaveDebugDump(const std::string& pDebugDumpDir, crash_info_t& p if (executable == "kernel") { package = "kernel"; - description = m_RPM.GetDescription(executable); + description = m_RPM.GetDescription(package); } else { package = m_RPM.GetPackage(executable); std::string packageName = package.substr(0, package.rfind("-", package.rfind("-") - 1)); - description = m_RPM.GetDescription(executable); + description = m_RPM.GetDescription(packageName); if (packageName == "" || (m_setBlackList.find(packageName) != m_setBlackList.end())) { |