Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/sync.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-09 15:23:24 -0500
committerDan McGee <dan@archlinux.org>2011-06-14 08:39:02 -0500
commitba63e31cc7ecc9e7fccb68e9fa4e09c90a8d5c66 (patch)
tree2989f068ce3104646c2dbdc616b47ca89d52cd98 /lib/libalpm/sync.c
parent0074cadb3bfdf5d89065e69eb93788ebcc9a6b58 (diff)
Small handle related cleanups
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r--lib/libalpm/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index bd92992a..d65f5e20 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -275,7 +275,7 @@ static int compute_download_size(pmpkg_t *newpkg)
off_t dltsize;
off_t pkgsize = alpm_pkg_get_size(newpkg);
- dltsize = _alpm_shortest_delta_path(newpkg->handle,
+ dltsize = _alpm_shortest_delta_path(handle,
alpm_pkg_get_deltas(newpkg),
alpm_pkg_get_filename(newpkg),
&newpkg->delta_path);