summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-03-11 18:01:23 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-03-11 18:01:23 +0100
commita56c80b308bfc07831c018403e8c9ea6a3e34c12 (patch)
tree99d21603ad67f18d1385e178cf2fff7a8be94613 /lib
parent15b99ea146293e4e396fc69521b8f647c6c5c5d1 (diff)
downloadabrt-a56c80b308bfc07831c018403e8c9ea6a3e34c12.tar.gz
abrt-a56c80b308bfc07831c018403e8c9ea6a3e34c12.tar.xz
abrt-a56c80b308bfc07831c018403e8c9ea6a3e34c12.zip
small fix for rpm 4.7
Diffstat (limited to 'lib')
-rw-r--r--lib/MiddleWare/RPM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MiddleWare/RPM.cpp b/lib/MiddleWare/RPM.cpp
index 409959e4..4f2f5672 100644
--- a/lib/MiddleWare/RPM.cpp
+++ b/lib/MiddleWare/RPM.cpp
@@ -72,7 +72,7 @@ bool CRPM::CheckHash(const std::string& pPackage, const std::string& pPath)
Header header;
if ((header = rpmdbNextIterator(iter)) != NULL)
{
- rpmfi fi = rpmfiNew(ts, header, RPMTAG_BASENAMES, 0);
+ rpmfi fi = rpmfiNew(ts, header, RPMTAG_BASENAMES, RPMFI_NOHEADER);
pgpHashAlgo hashAlgo;
std::string headerHash;
char computedHash[1024] = "";