diff options
Diffstat (limited to 'tools/common_write.c')
-rw-r--r-- | tools/common_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/common_write.c b/tools/common_write.c index 186caf5..5f0fb01 100644 --- a/tools/common_write.c +++ b/tools/common_write.c @@ -225,7 +225,7 @@ tool_write(Repo *repo, const char *basename, const char *attrname) int has_FL = 0; /* find languages and other info */ - for (i = 0, data = repo->repodata; i < repo->nrepodata; i++, data++) + FOR_REPODATAS(repo, i, data) { for (j = 1, key = data->keys + j; j < data->nkeys; j++, key++) { |