diff options
author | Michael Schroeder <mls@suse.de> | 2011-06-14 11:55:37 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2011-06-14 11:55:37 +0200 |
commit | 2b400c17febadf2b05aa88d9e6cdca882544a6cb (patch) | |
tree | f12f457241dd60c21b80b9224a1bd80e9d00bea9 /tools/common_write.c | |
parent | f81272c390895e768150a7750d6a1e42c06488e9 (diff) | |
download | libsolv-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.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++) { |