ref: refs/heads/master
commit 471881b4ae26ddbd0005175016fc5fd9373e58bb
Author: Michael Schroeder
Date: Thu Mar 5 14:29:17 2009 +0100
- fix repodata_merge_attrs() function
---
src/repodata.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/repodata.c b/src/repodata.c
index 96db472..1e54ff6 100644
--- a/src/repodata.c
+++ b/src/repodata.c
@@ -1955,7 +1955,7 @@ void
repodata_merge_attrs(Repodata *data, Id dest, Id src)
{
Id *keyp;
- if (dest == src || !(keyp = data->attrs[src]))
+ if (dest == src || !(keyp = data->attrs[src - data->start]))
return;
for (; *keyp; keyp += 2)
repodata_insert_keyid(data, dest, keyp[0], keyp[1], 0);
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org