summaryrefslogtreecommitdiff
path: root/src/repo.h
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2011-12-22 16:45:05 +0100
committerMichael Schroeder <mls@suse.de>2011-12-22 16:45:05 +0100
commite8dbbef9e187f5c71f9e53c638b8ab5db8f9bea0 (patch)
tree21eda88a1e522add9f1cdd70487b14166c4f6c84 /src/repo.h
parentbbadd9b603eda7da569fce14c433efb2e1324f10 (diff)
downloadlibsolv-e8dbbef9e187f5c71f9e53c638b8ab5db8f9bea0.tar.gz
libsolv-e8dbbef9e187f5c71f9e53c638b8ab5db8f9bea0.tar.bz2
libsolv-e8dbbef9e187f5c71f9e53c638b8ab5db8f9bea0.zip
- make repodata also start with id 1
Diffstat (limited to 'src/repo.h')
-rw-r--r--src/repo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repo.h b/src/repo.h
index e96751d..52bec4a 100644
--- a/src/repo.h
+++ b/src/repo.h
@@ -290,6 +290,6 @@ void repo_internalize(Repo *repo);
void repo_disable_paging(Repo *repo);
#define FOR_REPODATAS(repo, rdid, data) \
- for (rdid = 0, data = repo->repodata + rdid; rdid < repo->nrepodata; rdid++, data++)
+ for (rdid = 1, data = repo->repodata + rdid; rdid < repo->nrepodata; rdid++, data++)
#endif /* LIBSOLV_REPO_H */