summaryrefslogtreecommitdiff
path: root/lib/headerfmt.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-10-12 10:48:59 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-10-12 10:48:59 +0300
commitbb47ec2695c4c2bf16b8995c53d5f92bc51cf3e3 (patch)
tree6421029bbd4435708c01cd0da0794de969fe1b5c /lib/headerfmt.c
parent856df71e8dc24219ec01619d2089a06e9ae36dfc (diff)
downloadrpm-bb47ec2695c4c2bf16b8995c53d5f92bc51cf3e3.tar.gz
Permit conditional query formats on not yet cached data too
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 97332e76a..95bb3eeea 100644
--- a/lib/headerfmt.c
+++ b/lib/headerfmt.c
@@ -689,7 +689,7 @@ static char * singleSprintf(headerSprintfArgs hsa, sprintfToken token,
break;
case PTOK_COND:
- if (getCached(hsa->cache, token->u.cond.tag.tag) ||
+ if (getData(hsa, token->u.cond.tag.tag) ||
headerIsEntry(hsa->h, token->u.cond.tag.tag)) {
spft = token->u.cond.ifFormat;
condNumFormats = token->u.cond.numIfTokens;