summaryrefslogtreecommitdiff
path: root/lib/rpmts.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-10-22 11:49:52 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-10-22 11:49:52 +0300
commit0715b04664ce348b73f6981dd07f0b464dddd049 (patch)
tree630cb35a26b7f853b53e125a9f22a3547a78ae96 /lib/rpmts.c
parent327b9a38180ff21b06331a65f3efc8986f0394a0 (diff)
downloadlibrpm-tizen-0715b04664ce348b73f6981dd07f0b464dddd049.tar.gz
librpm-tizen-0715b04664ce348b73f6981dd07f0b464dddd049.tar.bz2
librpm-tizen-0715b04664ce348b73f6981dd07f0b464dddd049.zip
Change all internal uses of rpmtsInitIterator() to use DBI tags
Diffstat (limited to 'lib/rpmts.c')
-rw-r--r--lib/rpmts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmts.c b/lib/rpmts.c
index e6d5d08b3..228ceb850 100644
--- a/lib/rpmts.c
+++ b/lib/rpmts.c
@@ -302,7 +302,7 @@ static int loadKeyringFromDB(rpmts ts)
int nkeys = 0;
rpmlog(RPMLOG_DEBUG, "loading keyring from rpmdb\n");
- mi = rpmtsInitIterator(ts, RPMTAG_NAME, "gpg-pubkey", 0);
+ mi = rpmtsInitIterator(ts, RPMDBI_NAME, "gpg-pubkey", 0);
while ((h = rpmdbNextIterator(mi)) != NULL) {
struct rpmtd_s pubkeys;
const char *key;