summaryrefslogtreecommitdiff
path: root/lib/package.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-11-30 11:00:40 +0200
committerPanu Matilainen <pmatilai@redhat.com>2011-11-30 11:00:40 +0200
commite83aa4f63817620633f5079064283cc9c3320e3f (patch)
tree842c488f1a35780094d6b180cf69cec15155a5fc /lib/package.c
parent52bcafcfb2e7c6bb8bb59f8def831e4f6a6f4930 (diff)
downloadlibrpm-tizen-e83aa4f63817620633f5079064283cc9c3320e3f.tar.gz
librpm-tizen-e83aa4f63817620633f5079064283cc9c3320e3f.tar.bz2
librpm-tizen-e83aa4f63817620633f5079064283cc9c3320e3f.zip
Update internal callers to use headerImport() instead of headerLoad()
- Pass size where possible, this is a bit redundant in places since its already checked in various places but wont hurt anyway.
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 3df81c97a..1e44f4d8b 100644
--- a/lib/package.c
+++ b/lib/package.c
@@ -452,7 +452,7 @@ static rpmRC rpmpkgReadHeader(rpmKeyring keyring, rpmVSFlags vsflags,
goto exit;
/* OK, blob looks sane, load the header. */
- h = headerLoad(ei);
+ h = headerImport(ei, uc, 0);
if (h == NULL) {
free(buf);
rasprintf(&buf, _("hdr load: BAD\n"));