summaryrefslogtreecommitdiff
path: root/lib/headerfmt.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-05-15 12:27:20 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-05-15 12:27:20 +0300
commit6f18834d4ebbea4af8c2b3be12f25d28fe4f4450 (patch)
treea4d3cca8593b4d6afc01b3f8326d6227b470a3ea /lib/headerfmt.c
parent445671ee82d95b7465663152a633c38bd3300d5e (diff)
downloadlibrpm-tizen-6f18834d4ebbea4af8c2b3be12f25d28fe4f4450.tar.gz
librpm-tizen-6f18834d4ebbea4af8c2b3be12f25d28fe4f4450.tar.bz2
librpm-tizen-6f18834d4ebbea4af8c2b3be12f25d28fe4f4450.zip
Permit tags down to HEADER_IMAGE in queries to match previous behavior
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 3cfc8c701..7fe1ab1e9 100644
--- a/lib/headerfmt.c
+++ b/lib/headerfmt.c
@@ -611,7 +611,7 @@ static int getData(headerSprintfArgs hsa, rpmTag tag,
{
rpmtd td = NULL;
- if (tag < HEADER_TAGBASE || tag >= RPMTAG_FIRSTFREE_TAG)
+ if (tag < HEADER_IMAGE || tag >= RPMTAG_FIRSTFREE_TAG)
return 0;
if (hsa->cache[tag]) {