diff options
author | Dan McGee <dan@archlinux.org> | 2011-08-20 02:12:21 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-20 02:12:21 +0200 |
commit | d9e5dab6aceeb4d32cfa52d5500f0d22cabb487b (patch) | |
tree | 031845462cc7aefe45c86a03aae95bb62e44fdeb /lib/libalpm/diskspace.c | |
parent | d307ed5eb9d6684911c55f661e2d58e0fd6e4ceb (diff) | |
download | pacman-d9e5dab6aceeb4d32cfa52d5500f0d22cabb487b.tar.gz pacman-d9e5dab6aceeb4d32cfa52d5500f0d22cabb487b.tar.xz |
Remove alpm_option_get_* usage from backend
These are all available directly on the handle without indirection.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/diskspace.c')
-rw-r--r-- | lib/libalpm/diskspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/diskspace.c b/lib/libalpm/diskspace.c index 1e2fa143..ad80304b 100644 --- a/lib/libalpm/diskspace.c +++ b/lib/libalpm/diskspace.c @@ -211,7 +211,7 @@ static int calculate_installed_size(alpm_handle_t *handle, /* approximate space requirements for db entries */ if(filename[0] == '.') { - filename = alpm_option_get_dbpath(handle); + filename = handle->dbpath; } snprintf(path, PATH_MAX, "%s%s", handle->root, filename); |