Honor rpmtd type, not tag type, in rpmtdClass() (ticket #25)
This commit is contained in:
parent
216eb1c7e0
commit
381605a9bb
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue