index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2012-01-11 15:39:52 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-01-18 22:10:06 -0600 |
commit | b3612e9cc198f198b3806efa461bf6fc04dd4502 (patch) | |
tree | 85d6018836a02c4ed4cb1211d3ec73d34a2259c9 /lib/libalpm/delta.c | |
parent | 6e8ca48cbb22c328deab56b1740be04ea7ddba6e (diff) |
-rw-r--r-- | lib/libalpm/delta.c | 3 |
diff --git a/lib/libalpm/delta.c b/lib/libalpm/delta.c index 726f03c0..e3acc666 100644 --- a/lib/libalpm/delta.c +++ b/lib/libalpm/delta.c @@ -264,7 +264,8 @@ static alpm_list_t *find_unused(alpm_list_t *deltas, const char *to, off_t quota alpm_list_t SYMEXPORT *alpm_pkg_unused_deltas(alpm_pkg_t *pkg) { ASSERT(pkg != NULL, return NULL); - return find_unused(pkg->deltas, pkg->filename, pkg->size * MAX_DELTA_RATIO); + return find_unused(pkg->deltas, pkg->filename, + pkg->size * pkg->handle->deltaratio); } /** @} */ |