diff options
-rw-r--r-- | src/database.c | 1 | ||||
-rw-r--r-- | test/iolimit1.test | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c index 7ac73dd..b6d315b 100644 --- a/src/database.c +++ b/src/database.c @@ -2138,6 +2138,7 @@ static int load_apkindex(void *sctx, const struct apk_file_info *fi, if (r <= 0) return r; + r = 0; repo = &ctx->db->repos[ctx->repo]; if (strcmp(fi->name, "DESCRIPTION") == 0) { diff --git a/test/iolimit1.test b/test/iolimit1.test index 066e89b..750ff8a 100644 --- a/test/iolimit1.test +++ b/test/iolimit1.test @@ -2,4 +2,4 @@ --test-repo iolimit.repo add test-f @EXPECT -ERROR: Failed to open repository iolimit.repo : No buffer space available
\ No newline at end of file +ERROR: Failed to open repository iolimit.repo : No buffer space available |