summaryrefslogtreecommitdiff
path: root/librazor
diff options
context:
space:
mode:
authorJames Bowes <jbowes@redhat.com>2008-06-23 19:58:13 -0400
committerJames Bowes <jbowes@redhat.com>2008-06-23 19:58:13 -0400
commit76a0be7e28f5d4e74b79b61dfe911e2f5d0514ce (patch)
treebec892e9ed31bd99033a22b3f36488d03cca915a /librazor
parentb6de825d81947d3c0cd060c4a6eb24fa32027d59 (diff)
Make file listing (either per-repo or per-package) use the correct string pool
Diffstat (limited to 'librazor')
-rw-r--r--librazor/razor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/librazor/razor.c b/librazor/razor.c
index 021480a..eef083d 100644
--- a/librazor/razor.c
+++ b/librazor/razor.c
@@ -466,7 +466,7 @@ list_dir(struct razor_set *set, struct razor_entry *dir,
char *prefix, const char *pattern)
{
struct razor_entry *e;
- const char *n, *pool = set->string_pool.data;
+ const char *n, *pool = set->file_string_pool.data;
e = (struct razor_entry *) set->files.data + dir->start;
do {
@@ -525,7 +525,7 @@ list_package_files(struct razor_set *set, struct list *r,
int len;
entries = (struct razor_entry *) set->files.data;
- pool = set->string_pool.data;
+ pool = set->file_string_pool.data;
e = entries + dir->start;
do {