summaryrefslogtreecommitdiff
path: root/lib/rpmtd.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-01-28 13:21:39 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-01-28 13:21:39 +0200
commit381605a9bb32cf88209a2dbb72f58c31167779e9 (patch)
treeae1361ac9b43c37f09a42ab290349900a679af3a /lib/rpmtd.c
parent216eb1c7e02b4bfb9a1d301538b41533db489b55 (diff)
downloadlibrpm-tizen-381605a9bb32cf88209a2dbb72f58c31167779e9.tar.gz
librpm-tizen-381605a9bb32cf88209a2dbb72f58c31167779e9.tar.bz2
librpm-tizen-381605a9bb32cf88209a2dbb72f58c31167779e9.zip
Honor rpmtd type, not tag type, in rpmtdClass() (ticket #25)
Diffstat (limited to 'lib/rpmtd.c')
-rw-r--r--lib/rpmtd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmtd.c b/lib/rpmtd.c
index 01690d478..fc7af7378 100644
--- a/lib/rpmtd.c
+++ b/lib/rpmtd.c
@@ -74,7 +74,7 @@ rpmTagType rpmtdType(rpmtd td)
rpmTagClass rpmtdClass(rpmtd td)
{
assert(td != NULL);
- return rpmTagGetClass(td->tag);
+ return rpmTagTypeGetClass(td->type);
}
int rpmtdGetIndex(rpmtd td)