diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-09-21 12:40:33 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-09-21 12:40:33 +0300 |
commit | be488096e0f011a42d4dd46fa7c3769054158383 (patch) | |
tree | 4818066b0d426e02c3381069d9961471b4be803e /lib/tagname.c | |
parent | bf4a383892acc8a5bb6bbf45e87ac96674a3ecd1 (diff) | |
download | librpm-tizen-be488096e0f011a42d4dd46fa7c3769054158383.tar.gz librpm-tizen-be488096e0f011a42d4dd46fa7c3769054158383.tar.bz2 librpm-tizen-be488096e0f011a42d4dd46fa7c3769054158383.zip |
Use the new tag type/return type getters everywhere
- Instead of masking and bitfiddling all over the place, use the
new getters to get the exact (enum) type directly. rpmTagGetType()
is now unused within rpm but leaving around for backwards compatibility
Diffstat (limited to 'lib/tagname.c')
-rw-r--r-- | lib/tagname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tagname.c b/lib/tagname.c index 5861044b0..e9602619f 100644 --- a/lib/tagname.c +++ b/lib/tagname.c @@ -292,7 +292,7 @@ rpmTagClass rpmTagTypeGetClass(rpmTagType type) rpmTagClass rpmTagGetClass(rpmTag tag) { - return rpmTagTypeGetClass(rpmTagGetType(tag)); + return rpmTagTypeGetClass(rpmTagGetTagType(tag)); } rpmTag rpmTagGetValue(const char * tagstr) |