diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-11-30 11:00:40 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-11-30 11:00:40 +0200 |
commit | e83aa4f63817620633f5079064283cc9c3320e3f (patch) | |
tree | 842c488f1a35780094d6b180cf69cec15155a5fc /lib/package.c | |
parent | 52bcafcfb2e7c6bb8bb59f8def831e4f6a6f4930 (diff) | |
download | librpm-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.c | 2 |
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")); |