From 4d9c0c39b033159f4bd6fe279dd38d4f4a67c904 Mon Sep 17 00:00:00 2001 From: Timo Teräs Date: Wed, 21 Jun 2017 16:07:58 +0300 Subject: io: make io vtables const struct, and add accessors for them This reduces function pointers in heap, and unifies how the io functions are called. --- src/verify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/verify.c') diff --git a/src/verify.c b/src/verify.c index 986e3c9..8dc2efe 100644 --- a/src/verify.c +++ b/src/verify.c @@ -38,7 +38,7 @@ static int verify_main(void *ctx, struct apk_database *db, struct apk_string_arr continue; } r = apk_tar_parse(is, apk_sign_ctx_verify_tar, &sctx, FALSE, &db->id_cache); - is->close(is); + apk_istream_close(is); ok = sctx.control_verified && sctx.data_verified; if (apk_verbosity >= 1) apk_message("%s: %d - %s", *parg, r, -- cgit v1.2.3-60-g2f50