summaryrefslogtreecommitdiff
path: root/lib/package.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-01 10:29:44 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-01 10:29:44 +0200
commit82a9632d4f71987cf106cbc04b2005015ba69988 (patch)
tree28b9958860f450f8001d6925f2da54d51e36987f /lib/package.c
parent9169947ebd5d22bfb25e6dfa8cb0abea8390ea64 (diff)
downloadrpm-82a9632d4f71987cf106cbc04b2005015ba69988.tar.gz
rpm-82a9632d4f71987cf106cbc04b2005015ba69988.tar.bz2
rpm-82a9632d4f71987cf106cbc04b2005015ba69988.zip
Move hGet*() funcs from rpmts, rename to headerGet*()
Diffstat (limited to 'lib/package.c')
-rw-r--r--lib/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/package.c b/lib/package.c
index 774149047..1539dacd2 100644
--- a/lib/package.c
+++ b/lib/package.c
@@ -977,7 +977,7 @@ rpmRC headerCheckPayloadFormat(Header h) {
if (payloadfmt && strncmp(payloadfmt, "cpio", strlen("cpio")) == 0) {
rc = RPMRC_OK;
} else {
- const char *nevra = hGetNEVRA(h, NULL);
+ const char *nevra = headerGetNEVRA(h, NULL);
if (payloadfmt && strncmp(payloadfmt, "drpm", strlen("drpm")) == 0) {
rpmlog(RPMLOG_ERR,
_("%s is a Delta RPM and cannot be directly installed\n"),