diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-03 19:53:53 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-03 19:53:53 +0200 |
commit | d2f05f72f02e15164f2d83347317f15c7e8c4fb9 (patch) | |
tree | f017b96c52bf3cbbb7b69b67dd95217374955e87 /lib/libalpm/sync.c | |
parent | 307a6de17a3bca9f8666b33aa3fb9a8dd88c300b (diff) | |
download | pacman-d2f05f72f02e15164f2d83347317f15c7e8c4fb9.tar.gz pacman-d2f05f72f02e15164f2d83347317f15c7e8c4fb9.tar.xz |
Remove global handle from remove.c
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r-- | lib/libalpm/sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 32060d0a..f0d9b91f 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -947,7 +947,7 @@ int _alpm_sync_commit(pmtrans_t *trans, pmdb_t *db_local, alpm_list_t **data) if(replaces) { _alpm_log(PM_LOG_DEBUG, "removing conflicting and to-be-replaced packages\n"); /* we want the frontend to be aware of commit details */ - if(_alpm_remove_packages(trans, handle->db_local) == -1) { + if(_alpm_remove_packages(handle) == -1) { _alpm_log(PM_LOG_ERROR, _("could not commit removal transaction\n")); return -1; } |