summaryrefslogtreecommitdiffstats
path: root/src/Daemon/RPM.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Daemon/RPM.h')
-rw-r--r--src/Daemon/RPM.h4
1 files changed, 2 insertions, 2 deletions
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