diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-10 16:07:18 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-03-10 16:07:18 +0000 |
commit | 192dc8326d7dd4805c37529a13f4c6c78d695cee (patch) | |
tree | aed6b7352bb487e9a9ed749c5a65402dc99bc036 | |
parent | b4fe09ac6741b80a3b33447658f634724d585a86 (diff) | |
download | perl-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.
-rw-r--r-- | URPM.xs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |