aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-10 16:07:18 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-03-10 16:07:18 +0000
commit192dc8326d7dd4805c37529a13f4c6c78d695cee (patch)
treeaed6b7352bb487e9a9ed749c5a65402dc99bc036 /URPM.xs
parentb4fe09ac6741b80a3b33447658f634724d585a86 (diff)
downloadperl-URPM-192dc8326d7dd4805c37529a13f4c6c78d695cee.tar
perl-URPM-192dc8326d7dd4805c37529a13f4c6c78d695cee.tar.gz
perl-URPM-192dc8326d7dd4805c37529a13f4c6c78d695cee.tar.bz2
perl-URPM-192dc8326d7dd4805c37529a13f4c6c78d695cee.tar.xz
perl-URPM-192dc8326d7dd4805c37529a13f4c6c78d695cee.zip
"triggeredby" in traverse_tag never worked.
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index c2b8ecc..0d8b155 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2729,10 +2729,10 @@ Db_traverse_tag(db,tag,names,callback)
else if (!strcmp(tag, "group"))
rpmtag = RPMTAG_GROUP;
else if (!strcmp(tag, "triggeredby"))
- rpmtag = RPMTAG_BASENAMES;
+ rpmtag = RPMTAG_TRIGGERNAME;
else if (!strcmp(tag, "path"))
rpmtag = RPMTAG_BASENAMES;
- else croak("unknown tag");
+ else croak("unknown tag [%s]", tag);
for (i = 0; i <= len; ++i) {
STRLEN str_len;