From a9aae7ddc511b1d73792aedcff821ab637d40984 Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Mon, 9 Mar 2009 16:51:31 +0100 Subject: Fixed empty package Description. --- lib/MiddleWare/MiddleWare.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/MiddleWare') 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())) { -- cgit