diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-26 12:33:26 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-26 12:33:26 +0200 |
commit | 7bf3bf2eb83ce317283ccf8ab3e7a784238a8aeb (patch) | |
tree | dc52cea5ea98e5c9281a228f30982a723eef2f0e /src/Daemon/MiddleWare.cpp | |
parent | e68f779b9e8719978b164968fdfdc7c54a0c15b3 (diff) | |
download | abrt-7bf3bf2eb83ce317283ccf8ab3e7a784238a8aeb.tar.gz abrt-7bf3bf2eb83ce317283ccf8ab3e7a784238a8aeb.tar.xz abrt-7bf3bf2eb83ce317283ccf8ab3e7a784238a8aeb.zip |
class CRPM: make a few functions nono-members
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/MiddleWare.cpp')
-rw-r--r-- | src/Daemon/MiddleWare.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Daemon/MiddleWare.cpp b/src/Daemon/MiddleWare.cpp index 57f5892a..58ac10e9 100644 --- a/src/Daemon/MiddleWare.cpp +++ b/src/Daemon/MiddleWare.cpp @@ -439,7 +439,7 @@ static mw_result_t SavePackageDescriptionToDebugDump(const std::string& pExecuta } else { - package = s_RPM.GetPackage(pExecutable); + package = GetPackage(pExecutable); packageName = package.substr(0, package.rfind("-", package.rfind("-") - 1)); if (packageName == "" || (s_setBlackList.find(packageName) != s_setBlackList.end())) @@ -459,7 +459,7 @@ static mw_result_t SavePackageDescriptionToDebugDump(const std::string& pExecuta error_msg("package isn't signed with proper key"); return MW_GPG_ERROR; } - if (!s_RPM.CheckHash(packageName, pExecutable)) + if (!CheckHash(packageName, pExecutable)) { error_msg("executable has bad hash"); return MW_GPG_ERROR; @@ -467,8 +467,8 @@ static mw_result_t SavePackageDescriptionToDebugDump(const std::string& pExecuta } } - std::string description = s_RPM.GetDescription(packageName); - std::string component = s_RPM.GetComponent(pExecutable); + std::string description = GetDescription(packageName); + std::string component = GetComponent(pExecutable); CDebugDump dd; try |