diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-01-28 13:21:39 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-01-28 13:21:39 +0200 |
commit | 381605a9bb32cf88209a2dbb72f58c31167779e9 (patch) | |
tree | ae1361ac9b43c37f09a42ab290349900a679af3a | |
parent | 216eb1c7e02b4bfb9a1d301538b41533db489b55 (diff) | |
download | librpm-tizen-381605a9bb32cf88209a2dbb72f58c31167779e9.tar.gz librpm-tizen-381605a9bb32cf88209a2dbb72f58c31167779e9.tar.bz2 librpm-tizen-381605a9bb32cf88209a2dbb72f58c31167779e9.zip |
Honor rpmtd type, not tag type, in rpmtdClass() (ticket #25)
-rw-r--r-- | lib/rpmtd.c | 2 |
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) |