Honor rpmtd type, not tag type, in rpmtdClass() (ticket #25)

This commit is contained in:
Panu Matilainen 2009-01-28 13:21:39 +02:00
parent 216eb1c7e0
commit 381605a9bb
1 changed files with 1 additions and 1 deletions

View File

@ -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)