From 381605a9bb32cf88209a2dbb72f58c31167779e9 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 28 Jan 2009 13:21:39 +0200 Subject: Honor rpmtd type, not tag type, in rpmtdClass() (ticket #25) --- lib/rpmtd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rpmtd.c') 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) -- cgit v1.2.3