summaryrefslogtreecommitdiff
path: root/tools/common_write.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2011-06-14 11:55:37 +0200
committerMichael Schroeder <mls@suse.de>2011-06-14 11:55:37 +0200
commit2b400c17febadf2b05aa88d9e6cdca882544a6cb (patch)
treef12f457241dd60c21b80b9224a1bd80e9d00bea9 /tools/common_write.c
parentf81272c390895e768150a7750d6a1e42c06488e9 (diff)
downloadlibsolv-2b400c17febadf2b05aa88d9e6cdca882544a6cb.tar.gz
libsolv-2b400c17febadf2b05aa88d9e6cdca882544a6cb.tar.bz2
libsolv-2b400c17febadf2b05aa88d9e6cdca882544a6cb.zip
- use FOR_REPODATAS macro
Diffstat (limited to 'tools/common_write.c')
-rw-r--r--tools/common_write.c2
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++)
{