diff options
author | Timo Teräs <timo.teras@iki.fi> | 2015-03-10 15:46:05 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2015-03-10 15:47:13 +0200 |
commit | da6e455f7001def03300a398dbbc02bb03c7f4b9 (patch) | |
tree | 192d4250879cfa27645e830c9efd5507e18e51d6 /src/fetch.c | |
parent | be8e133c0b5ba0980d0debbf26b76a0b866689e7 (diff) | |
download | apk-tools-da6e455f7001def03300a398dbbc02bb03c7f4b9.tar.gz apk-tools-da6e455f7001def03300a398dbbc02bb03c7f4b9.tar.bz2 apk-tools-da6e455f7001def03300a398dbbc02bb03c7f4b9.tar.xz apk-tools-da6e455f7001def03300a398dbbc02bb03c7f4b9.zip |
rename file info related functions for consistency
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; } |