summaryrefslogtreecommitdiff
path: root/lib/headerfmt.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-09-21 11:58:08 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-09-21 11:58:08 +0300
commit99b44e35e5ed48783f8b3e2533b240192848d86c (patch)
tree1e2f8a4e161e2cd5981e25e4eaaea4bb11391236 /lib/headerfmt.c
parent42bcdfd52788ee979bd0a0f7e137b6d85fc74fcc (diff)
downloadrpm-99b44e35e5ed48783f8b3e2533b240192848d86c.tar.gz
Use actual rpmTags in place of the old HEADER_FOO defines everywhere
Diffstat (limited to 'lib/headerfmt.c')
-rw-r--r--lib/headerfmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/headerfmt.c b/lib/headerfmt.c
index adf844a6f..453ed02b8 100644
--- a/lib/headerfmt.c
+++ b/lib/headerfmt.c
@@ -584,7 +584,7 @@ static rpmtd getCached(rpmtd *cache, rpmTag tag)
{
rpmtd td = NULL;
- if (tag >= HEADER_IMAGE && tag < RPMTAG_FIRSTFREE_TAG && cache[tag]) {
+ if (tag >= RPMTAG_HEADERIMAGE && tag < RPMTAG_FIRSTFREE_TAG && cache[tag]) {
td = cache[tag];
}
return td;