From fdce1d751b45bbd0210b45989f4f4c0e092683dc Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 14 Dec 2009 16:52:38 +0100 Subject: better logging of package and hash checks Signed-off-by: Denys Vlasenko --- src/Daemon/RPM.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Daemon/RPM.h') diff --git a/src/Daemon/RPM.h b/src/Daemon/RPM.h index 67cd4a29..fed5e43d 100644 --- a/src/Daemon/RPM.h +++ b/src/Daemon/RPM.h @@ -82,9 +82,9 @@ std::string GetDescription(const char* pPackage); * file. If the file doesn't belong to any package, empty string is * returned. * @param pFileName A file name. - * @return A package name. + * @return A package name (malloced string) */ -std::string GetPackage(const char* pFileName); +char* GetPackage(const char* pFileName); /** * Finds a main package for given file. This package contains particular * file. If the file doesn't belong to any package, empty string is -- cgit