diff options
Diffstat (limited to 'src/fetch.c')
-rw-r--r-- | src/fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fetch.c b/src/fetch.c index dc4571b..43e4dbf 100644 --- a/src/fetch.c +++ b/src/fetch.c @@ -138,7 +138,7 @@ static int fetch_package(apk_hash_item item, void *pctx) } if (!(ctx->flags & FETCH_STDOUT)) { - if (apk_file_get_info(ctx->outdir_fd, filename, APK_CHECKSUM_NONE, &fi) == 0 && + if (apk_fileinfo_get(ctx->outdir_fd, filename, APK_CHECKSUM_NONE, &fi) == 0 && fi.size == pkg->size) return 0; } |