diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-03 12:53:53 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-03 12:53:53 -0500 |
commit | d2f05f72f02e15164f2d83347317f15c7e8c4fb9 (patch) | |
tree | f017b96c52bf3cbbb7b69b67dd95217374955e87 /lib/libalpm/trans.c | |
parent | 307a6de17a3bca9f8666b33aa3fb9a8dd88c300b (diff) | |
download | pacman-d2f05f72f02e15164f2d83347317f15c7e8c4fb9.tar.xz |
Remove global handle from remove.c
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/trans.c')
-rw-r--r-- | lib/libalpm/trans.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index 19614f68..8e019cc2 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -197,7 +197,7 @@ int SYMEXPORT alpm_trans_prepare(alpm_list_t **data) } if(trans->add == NULL) { - if(_alpm_remove_prepare(trans, handle->db_local, data) == -1) { + if(_alpm_remove_prepare(handle, data) == -1) { /* pm_errno is set by _alpm_remove_prepare() */ return -1; } @@ -236,7 +236,7 @@ int SYMEXPORT alpm_trans_commit(alpm_list_t **data) trans->state = STATE_COMMITING; if(trans->add == NULL) { - if(_alpm_remove_packages(trans, handle->db_local) == -1) { + if(_alpm_remove_packages(handle) == -1) { /* pm_errno is set by _alpm_remove_commit() */ return -1; } |