From 553a805e8d0a16486e96288e40e9f3db24ede90b Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Mon, 25 Aug 2008 13:14:53 +0000 Subject: [PATCH] - fix offbyone --- tools/repo_rpmmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/repo_rpmmd.c b/tools/repo_rpmmd.c index 5de1714..2c87fd2 100644 --- a/tools/repo_rpmmd.c +++ b/tools/repo_rpmmd.c @@ -965,7 +965,7 @@ endElement(void *userData, const char *name) pd->ncscache = index + 1; } /* add the checksum to the cache */ - pd->cscache[index-1] = s - pool->solvables; + pd->cscache[index] = s - pool->solvables; break; } case STATE_FILE: -- 2.7.4